console\controllers\AssetController $defaultAction

$defaultAction public property Controller default action ID. public string $defaultAction = 'compress'

console\controllers\AssetController $cssCompressor

$cssCompressor public property CSS file compressor. If a string, it is treated as shell command template, which should contain placeholders {from} - source file name - and {to} - output file name. Otherwise, it is treated as PHP callback, which should perform the compression. Default value relies on usage of "YUI Compressor" See also https://github.com/yui/yuicompressor/. public string|callable $cssCompressor = 'java -jar yuicompressor.jar --type css {from} -o {to}'

console\controllers\AssetController $bundles

$bundles public property List of asset bundles to be compressed. public array $bundles = []

console\controllers\AssetController $assetManager

$assetManager public property Asset manager instance. public yii\web\AssetManager getAssetManager ( )public void setAssetManager ( $assetManager )

console\Controller stdout()

stdout() public method Prints a string to STDOUT You may optionally format the string with ANSI codes by passing additional parameters using the constants defined in yii\helpers\Console. Example: $this->stdout('This will be red and underlined.', Console::FG_RED, Console::UNDERLINE); public integer|boolean stdout ( $string )$string string The string to print return integer|boolean Number of bytes printed or false on error

console\Controller stderr()

stderr() public method Prints a string to STDERR You may optionally format the string with ANSI codes by passing additional parameters using the constants defined in yii\helpers\Console. Example: $this->stderr('This will be red and underlined.', Console::FG_RED, Console::UNDERLINE); public integer|boolean stderr ( $string )$string string The string to print return integer|boolean Number of bytes printed or false on error

console\Controller select()

select() public method Gives the user an option to choose from. Giving '?' as an input will show a list of options to choose from and their explanations. public string select ( $prompt, $options = [] )$prompt string The prompt message $options array Key-value array of options to choose from return string An option character the user chose

console\Controller runAction()

runAction() public method Runs an action with the specified action ID and parameters. If the action ID is empty, the method will use $defaultAction. See also createAction(). public integer runAction ( $id, $params = [] )$id string The ID of the action to be executed. $params array The parameters (name-value pairs) to be passed to the action. return integer The status of the action execution. 0 means normal, other values mean abnormal. throws yii\base\InvalidRouteException if the re

console\Controller prompt()

prompt() public method Prompts the user for input and validates it public string prompt ( $text, $options = [] )$text string Prompt string $options array The options to validate the input: required: whether it is required or not default: default value if no input is inserted by the user pattern: regular expression pattern to validate user input validator: a callable function to validate input. The function must accept two parameters:$input: the user input to validate $error: the error

console\Controller parseDocCommentTags()

parseDocCommentTags() protected method Parses the comment block into tags. protected array parseDocCommentTags ( $reflection )$reflection Reflector The comment block return array The parsed tags