yii\shell\Bootstrap::bootstrap PHP Метод

bootstrap() публичный Метод

public bootstrap ( $app )
    public function bootstrap($app)
    {
        if ($app instanceof \yii\console\Application) {
            $app->controllerMap['shell'] = 'yii\\shell\\ShellController';
        }
    }
Bootstrap