console\Controller optionAliases()

optionAliases() public method (available since version 2.0.8)

Returns option alias names.

Child classes may override this method to specify alias options.

See also \yii\console\options($actionID).

public array optionAliases ( )
return array

The options alias names valid for the action where the keys is alias name for option and value is option name.

doc_Yii
2016-10-30 16:54:46
Comments
Leave a Comment

Please login to continue.