Class ConsoleEvents
Contains all events dispatched by an Application.
Final
Namespace: Symfony\Component\Console
Author: Francesco Levorato git@flevour.net
Located at ConsoleEvents.php
Namespace: Symfony\Component\Console
Author: Francesco Levorato git@flevour.net
Located at ConsoleEvents.php
string |
COMMAND
The COMMAND event allows you to attach listeners before any command is executed by the console. It also allows you to modify the command, input and output before they are handled to the command. |
#
'console.command'
|
string |
TERMINATE
The TERMINATE event allows you to attach listeners after a command is executed by the console. |
#
'console.terminate'
|
string |
EXCEPTION
The EXCEPTION event occurs when an uncaught exception appears. |
#
'console.exception'
|