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;
            }
        }
    }