* * 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:----dYly50RO5AVp3rxdZ2fmQufmtKrvnPPITMPWiSPIgo8DU46En5KsR2y2T3lIXJR+dZ0INvcKJoCKCDRq0GCG1BmH2GtHcRAL8vM0yICylBD9W8gdudkr3wFEwP5CE5oy15M+cwqETe6kqnuQtqrnWEWQe9MRbtcrRD/4zKl8RU23wsKGQIu3Rk9ZGmqCzq95gdgAX76lA8DU49XIcZU8H+vmjL+0qMk6kQ2W2bsSuM0IV7f4fcf+Ptdgs+Hb8mn9CuIk0EF7qBf44tka2zuREll7m5kCpNkzyzEg5u9NzfzDj0GRphDox2X5zecXWhQ9X9pxC1yUemFdvFqR63b9t6YQbyNxVUhSt8YHEIZU0zc34wS58JR3yiW0jmehNk2UvtXlrV7dN9As0puu1EL/LfRo5Wy3DCB9BHNdlj3WeO9BTNk21KtpJ3OO5AuhxfyVk6VZScpawWaYopYf1ndAGb4vudBdQB0HY/w384iV5Zjbhj+/9rDhD24V3DDU/e2zR1LGYq3CdjZyP6cUIeIDKHYd0UIWTdKt4Fjd4GmIpltuYrmAN1Ib1U1+JBh4zEHwrwc63gKQZ0unz2tJ0o+gp1c9lmPJy/omgbJnh6jzNpdsYD/ckuzfWL1z7OcOtf7FRMofABA95LKNK+LYoDuOvqKhYT5dmF3H9oq8EBzcAWw=----ATTACHMENT:----MTEwOTczNTUwMDI5MTUxNyA3MjUwNzE5Mzk3MDcwNDI1IDc3MjA5NDA4NTA2NTkyNTU=