original_string: public function bootstrap()
      {
          $config = Container::getConfig();
          $commonConfigFile = APPLICATION_PATH . '/App/' . Router::getDefaultControllerName(true) . '/Config/application.php';
          $config->appendConfig(require $commonConfigFile);
          $bootstrapFile = APPLICATION_PATH . '/App/' . Router::getDefaultControllerName(true) . '/Bootstrap.php';
          if (!file_exists($bootstrapFile)) {
              throw new ArchException('Bootstrap file ' . $bootstrapFile . ' is needed');
          }
          
          //self::debug('Begin bootstrap');
          Container::getBootstrap()->bootstrap();
          //self::debug('End bootstrap');
          return $this;
      }
code: public function bootstrap()
      {
          $config = Container::getConfig();
          $commonConfigFile = APPLICATION_PATH . '/App/' . Router::getDefaultControllerName(true) . '/Config/application.php';
          $config->appendConfig(require $commonConfigFile);
          $bootstrapFile = APPLICATION_PATH . '/App/' . Router::getDefaultControllerName(true) . '/Bootstrap.php';
          if (!file_exists($bootstrapFile)) {
              throw new ArchException('Bootstrap file ' . $bootstrapFile . ' is needed');
          }
          
          //self::debug('Begin bootstrap');
          Container::getBootstrap()->bootstrap();
          //self::debug('End bootstrap');
          return $this;
      }
code_tokens: public function bootstrap ( ) { $ config = Container :: getConfig ( ) ; $ commonConfigFile = APPLICATION_PATH . '/App/' . Router :: getDefaultControllerName ( true ) . '/Config/application.php' ; $ config -> appendConfig ( require $ commonConfigFile ) ; $ bootstrapFile = APPLICATION_PATH . '/App/' . Router :: getDefaultControllerName ( true ) . '/Bootstrap.php' ; if ( ! file_exists ( $ bootstrapFile ) ) { throw new ArchException ( 'Bootstrap file ' . $ bootstrapFile . ' is needed' ) ; } //self::debug('Begin bootstrap'); Container :: getBootstrap ( ) -> bootstrap ( ) ; //self::debug('End bootstrap'); return $ this ; }
docstring: Configuration + Bootstraping
  @return $this
  @throws ArchException
docstring_tokens: Configuration + Bootstraping