src/Mmi/Mvc/Dispatcher.php
public function routeStartup()
    {
        //iteracja po pluginach
        foreach (FrontController::getInstance()->getPlugins() as $plugin) {
            //wykonywanie routeStartup() na kolejnych pluginach
            $plugin->routeStartup(FrontController::getInstance()->getRequest());
        }
        //profiler
        FrontController::getInstance()->getProfiler()->event('Mvc\Dispatcher: plugins route startup');
    }
public function routeStartup()
    {
        //iteracja po pluginach
        foreach (FrontController::getInstance()->getPlugins() as $plugin) {
            //wykonywanie routeStartup() na kolejnych pluginach
            $plugin->routeStartup(FrontController::getInstance()->getRequest());
        }
        //profiler
        FrontController::getInstance()->getProfiler()->event('Mvc\Dispatcher: plugins route startup');
    }
public function routeStartup ( ) { //iteracja po pluginach foreach ( FrontController :: getInstance ( ) -> getPlugins ( ) as $ plugin ) { //wykonywanie routeStartup() na kolejnych pluginach $ plugin -> routeStartup ( FrontController :: getInstance ( ) -> getRequest ( ) ) ; } //profiler FrontController :: getInstance ( ) -> getProfiler ( ) -> event ( 'Mvc\Dispatcher: plugins route startup' ) ; }
Uruchamianie metody routeStartup na zarejestrowanych pluginach
Uruchamianie metody routeStartup na zarejestrowanych pluginach