Final Class Symfony\Component\Console\ConsoleEvents

InheritanceSymfony\Component\Console\ConsoleEvents

Contains all events dispatched by an Application.

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
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. Symfony\Component\Console\ConsoleEvents
EXCEPTION 'console.exception' The EXCEPTION event occurs when an uncaught exception appears. This event allows you to deal with the exception or to modify the thrown exception. Symfony\Component\Console\ConsoleEvents
TERMINATE 'console.terminate' The TERMINATE event allows you to attach listeners after a command is executed by the console. Symfony\Component\Console\ConsoleEvents