protected function loadRoutesAndServices()
    {
        foreach ($this->modules as $module) {
            if ($module->getPathRoutes()) {
                $routesConfig = Util::getJson($module->getPathRoutes());
                $this->routes += $routesConfig;
            }

            if ($module->getPathServices()) {
                $servicesConfig = Util::getJson($module->getPathServices());
                $this->services += $servicesConfig;
            }
        }
    }
protected function loadRoutesAndServices()
    {
        foreach ($this->modules as $module) {
            if ($module->getPathRoutes()) {
                $routesConfig = Util::getJson($module->getPathRoutes());
                $this->routes += $routesConfig;
            }

            if ($module->getPathServices()) {
                $servicesConfig = Util::getJson($module->getPathServices());
                $this->services += $servicesConfig;
            }
        }
    }
protected function loadRoutesAndServices ( ) { foreach ( $ this -> modules as $ module ) { if ( $ module -> getPathRoutes ( ) ) { $ routesConfig = Util :: getJson ( $ module -> getPathRoutes ( ) ) ; $ this -> routes += $ routesConfig ; } if ( $ module -> getPathServices ( ) ) { $ servicesConfig = Util :: getJson ( $ module -> getPathServices ( ) ) ; $ this -> services += $ servicesConfig ; } } }
Cherche les routes des modules et les charge dans l'application.

@return void
Cherche les routes des modules et les charge dans l application .