/** * @return ConfigRepository */ private static function getInstance() { if (!self::isLoaded()) { self::$configInstance = new ConfigRepository(); self::$configInstance->reload(); } return self::$configInstance; }
/** * @return void */ public function runApplication() { if ($this->configRepository) { $this->configRepository->reload(); } $this->registerErrorHandlers(); $this->includeRoutes(); $this->createFrontController()->init(); }