console\Application getRequest()

getRequest() public method Returns the request component. public yii\console\Request getRequest ( )return yii\console\Request The request component.

console\Application getErrorHandler()

getErrorHandler() public method Returns the error handler component. public yii\console\ErrorHandler getErrorHandler ( )return yii\console\ErrorHandler The error handler application component.

console\Application coreComponents()

coreComponents() public method Returns the configuration of core application components. public void coreComponents ( )

console\Application coreCommands()

coreCommands() public method Returns the configuration of the built-in commands. public array coreCommands ( )return array The configuration of the built-in commands.

console\Application $response

$response public read-only property The response component. public yii\console\Response getResponse ( )

console\Application $request

$request public read-only property The request component. public yii\console\Request getRequest ( )

console\Application $errorHandler

$errorHandler public read-only property The error handler application component. public yii\console\ErrorHandler getErrorHandler ( )

console\Application $enableCoreCommands

$enableCoreCommands public property Whether to enable the commands provided by the core framework. Defaults to true. public boolean $enableCoreCommands = true

console\Application $defaultRoute

$defaultRoute public property The default route of this application. Defaults to 'help', meaning the help command. public string $defaultRoute = 'help'

console\Application $controller

$controller public property The currently active controller instance public yii\console\Controller $controller = null