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