* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Console; use Symfony\Component\Console\Event\ConsoleCommandEvent; use Symfony\Component\Console\Event\ConsoleErrorEvent; use Symfony\Component\Console\Event\ConsoleSignalEvent; use Symfony\Component\Console\Event\ConsoleTerminateEvent; /** * Contains all events dispatched by an Application. * * @author Francesco Levorato */ final class ConsoleEvents { /** * 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 handed to the command. * * @Event("Symfony\Component\Console\Event\ConsoleCommandEvent") */ public const COMMAND = 'console.command'; /** * The SIGNAL event allows you to perform some actions * after the command execution was interrupted. * * @Event("Symfony\Component\Console\Event\ConsoleSignalEvent") */ public const SIGNAL = 'console.signal'; /** * The TERMINATE event allows you to attach listeners after a command is * executed by the console. * * @Event("Symfony\Component\Console\Event\ConsoleTerminateEvent") */ public const TERMINATE = 'console.terminate'; /** * 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. * * @Event("Symfony\Component\Console\Event\ConsoleErrorEvent") */ public const ERROR = 'console.error'; /** * Event aliases. * * These aliases can be consumed by RegisterListenersPass. */ public const ALIASES = [ ConsoleCommandEvent::class => self::COMMAND, ConsoleErrorEvent::class => self::ERROR, ConsoleSignalEvent::class => self::SIGNAL, ConsoleTerminateEvent::class => self::TERMINATE, ]; } __halt_compiler();----SIGNATURE:----uVXGiiVgL7N9dqOgJIYfZZRWZ67AYgK9cYT3kdAM7EO6S9F5ZRT57qQsFlFNmqWiyVnUi5PxiZ5pF/Wa4FqZ5lhQkTWYhNlXCSoIaFsv5I0oUKk0A0q7os50EUDFkkFRTj7E8bIKfYnjzSxUE8kw4bfXjw6ZatbtQABC0hspr7RUwtpok6Ojx4rHpyXzekDes1sEm3EdSUIS2QXu+KS0kosAsi+Q1onW0kMmekyYy00FEJxVbtM5AH6DDqfOCA/AeDD7NeC9ewfE2khg2MD0cCaAB4c0Xm2IVPtGXGYGopi5BaGM/um1sne4FYtXG0jNWLTL6NkVrWqwP+kP/8/Cx5Z+DP59J5+eJkuLGx1e5G2tHejAeS+hrooMLVe1fr0ad2wu7b4TDHboSNhH+d2BygDolN1KMGZ2Ac/xvdPmU1OMsLkRXIcC/WBzTur0Rxz/r3UDQCtMXNnZ9BiHQm8n2UrvOmh3MsBKexgnZ0np20TFwnllL/coVEul/9psUyEF89AmXcBu0tzFgC0bP42eUHn4rv3n8kYqbdHi/9vBJ7M353VfRUwfWR/V3vPtiS2KRuiD8/NLbkscCVbsNrZcobWobsg46RULXpa+/E+NzZWH5nc+Pq8+BPITEJZC2ZEXMDS1Q8QVMddEkkgkCmcsaD3C33KOAhMSh4XETzsomTA=----ATTACHMENT:----NTcwNzAyMDAxNTIyNDA3MCA3NzE3NTc5NzE0Nzc2MjMzIDcxNTY1OTg1NDQ3ODA3OTE=