PHP Class luya\console\commands\CommandController

Author: nadar
Inheritance: extends luya\console\Command
Show file Open project: luyadev/luya

Public Methods

Method Description
actionHelp ( ) : number Display all commands
actionIndex ( string $module, string $route = 'default' ) : integer Run the module route

Method Details

actionHelp() public method

Display all commands
public actionHelp ( ) : number
return number

actionIndex() public method

Run the module route
public actionIndex ( string $module, string $route = 'default' ) : integer
$module string The name of the module where the command is found
$route string The route based on controller/action to run inside the above provided module.
return integer Exit response