reload() public method

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