Console
Console::Start
Fired when the console starts
-
string &$command
The command
-
array &$arguments
Arguments from the command line
function myConsoleStartHandler(&$command, &$arguments)
{
// your code
}
Atomik::listenEvent('Console::Start', 'myConsoleStartHandler');
Console::End
Fired when the console ends
-
string $command
The command
-
array $arguments
Arguments from the command line
function myConsoleEndHandler($command, $arguments)
{
// your code
}
Atomik::listenEvent('Console::End', 'myConsoleEndHandler');
Console::Init
Fired when the init command is called after all default actions has been executed
-
array $arguments
Arguments from the command line
function myConsoleInitHandler($arguments)
{
// your code
}
Atomik::listenEvent('Console::Init', 'myConsoleInitHandler');
Console::Generate
Fired when the generate command is called
-
string $action
The action for which the generate command has been called
function myConsoleGenerateHandler($action)
{
// your code
}
Atomik::listenEvent('Console::Generate', 'myConsoleGenerateHandler');

