original_string: protected function initConfig(): void
      {
          $loader = new ConfigLoader();
          $loader->setPath($this->getPath());
          $loader->setEnvironment($this->getEnvironment());
          $loader->load();
  
          $config = new \Bluz\Config\Config();
          $config->setFromArray($loader->getConfig());
  
          Config::setInstance($config);
  
          // setup configuration for current environment
          if ($debug = Config::get('debug')) {
              $this->debugFlag = (bool)$debug;
          }
  
          // initial php settings
          if ($ini = Config::get('php')) {
              foreach ($ini as $key => $value) {
                  $result = ini_set($key, $value);
                  Logger::info('app:init:php:' . $key . ':' . ($result ?: '---'));
              }
          }
      }
code: protected function initConfig(): void
      {
          $loader = new ConfigLoader();
          $loader->setPath($this->getPath());
          $loader->setEnvironment($this->getEnvironment());
          $loader->load();
  
          $config = new \Bluz\Config\Config();
          $config->setFromArray($loader->getConfig());
  
          Config::setInstance($config);
  
          // setup configuration for current environment
          if ($debug = Config::get('debug')) {
              $this->debugFlag = (bool)$debug;
          }
  
          // initial php settings
          if ($ini = Config::get('php')) {
              foreach ($ini as $key => $value) {
                  $result = ini_set($key, $value);
                  Logger::info('app:init:php:' . $key . ':' . ($result ?: '---'));
              }
          }
      }
code_tokens: protected function initConfig ( ) : void { $ loader = new ConfigLoader ( ) ; $ loader -> setPath ( $ this -> getPath ( ) ) ; $ loader -> setEnvironment ( $ this -> getEnvironment ( ) ) ; $ loader -> load ( ) ; $ config = new \ Bluz \ Config \ Config ( ) ; $ config -> setFromArray ( $ loader -> getConfig ( ) ) ; Config :: setInstance ( $ config ) ; // setup configuration for current environment if ( $ debug = Config :: get ( 'debug' ) ) { $ this -> debugFlag = ( bool ) $ debug ; } // initial php settings if ( $ ini = Config :: get ( 'php' ) ) { foreach ( $ ini as $ key => $ value ) { $ result = ini_set ( $ key , $ value ) ; Logger :: info ( 'app:init:php:' . $ key . ':' . ( $ result ? : '---' ) ) ; } } }
docstring: Initial Request instance
  
  @return void
  @throws \Bluz\Config\ConfigException
  @throws \ReflectionException
docstring_tokens: Initial Request instance