\Symfony\Component\ConsoleConsoleEvents

Contains all events dispatched by an Application.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
COMMAND
TERMINATE
ERROR
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

COMMAND

COMMAND = 'console.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.

TERMINATE

TERMINATE = 'console.terminate'

The TERMINATE event allows you to attach listeners after a command is executed by the console.

ERROR

ERROR = 'console.error'

The ERROR event occurs when an uncaught exception or error appears.

This event allows you to deal with the exception/error or to modify the thrown exception.