Example #1
0
 /**
  * @param string $appRootPath
  */
 public function __construct($appRootPath)
 {
     Config::set('hyperframework.app_root_path', $appRootPath);
     if (Config::getBool('hyperframework.initialize_config', true)) {
         $this->initializeConfig();
     }
     if (Config::getBool('hyperframework.initialize_error_handler', true)) {
         $this->initializeErrorHandler();
     }
 }