original_string: public function bootstrap($app)
      {
          if ($app instanceof WebApplication) {
              $this->addUrlManagerRules($app);
              $this->setPodiumLogTarget($app);
          } elseif ($app instanceof ConsoleApplication) {
              $this->controllerNamespace = 'bizley\podium\console';
          }
      }
code: public function bootstrap($app)
      {
          if ($app instanceof WebApplication) {
              $this->addUrlManagerRules($app);
              $this->setPodiumLogTarget($app);
          } elseif ($app instanceof ConsoleApplication) {
              $this->controllerNamespace = 'bizley\podium\console';
          }
      }
code_tokens: public function bootstrap ( $ app ) { if ( $ app instanceof WebApplication ) { $ this -> addUrlManagerRules ( $ app ) ; $ this -> setPodiumLogTarget ( $ app ) ; } elseif ( $ app instanceof ConsoleApplication ) { $ this -> controllerNamespace = 'bizley\podium\console' ; } }
docstring: Bootstrap method to be called during application bootstrap stage.
  Adding routing rules and log target.
  @param Application $app the application currently running
docstring_tokens: Bootstrap method to be called during application bootstrap stage . Adding routing rules and log target .