Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/console/ConsoleEvents.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
22 * The COMMAND event allows you to attach listeners before any command is | 22 * The COMMAND event allows you to attach listeners before any command is |
23 * executed by the console. It also allows you to modify the command, input and output | 23 * executed by the console. It also allows you to modify the command, input and output |
24 * before they are handled to the command. | 24 * before they are handled to the command. |
25 * | 25 * |
26 * @Event("Symfony\Component\Console\Event\ConsoleCommandEvent") | 26 * @Event("Symfony\Component\Console\Event\ConsoleCommandEvent") |
27 * | |
28 * @var string | |
29 */ | 27 */ |
30 const COMMAND = 'console.command'; | 28 const COMMAND = 'console.command'; |
31 | 29 |
32 /** | 30 /** |
33 * The TERMINATE event allows you to attach listeners after a command is | 31 * The TERMINATE event allows you to attach listeners after a command is |
34 * executed by the console. | 32 * executed by the console. |
35 * | 33 * |
36 * @Event("Symfony\Component\Console\Event\ConsoleTerminateEvent") | 34 * @Event("Symfony\Component\Console\Event\ConsoleTerminateEvent") |
37 * | |
38 * @var string | |
39 */ | 35 */ |
40 const TERMINATE = 'console.terminate'; | 36 const TERMINATE = 'console.terminate'; |
41 | 37 |
42 /** | 38 /** |
43 * The EXCEPTION event occurs when an uncaught exception appears. | 39 * The EXCEPTION event occurs when an uncaught exception appears |
40 * while executing Command#run(). | |
44 * | 41 * |
45 * This event allows you to deal with the exception or | 42 * This event allows you to deal with the exception or |
46 * to modify the thrown exception. | 43 * to modify the thrown exception. |
47 * | 44 * |
48 * @Event("Symfony\Component\Console\Event\ConsoleExceptionEvent") | 45 * @Event("Symfony\Component\Console\Event\ConsoleExceptionEvent") |
49 * | 46 * |
50 * @var string | 47 * @deprecated The console.exception event is deprecated since version 3.3 and will be removed in 4.0. Use the console.error event instead. |
51 */ | 48 */ |
52 const EXCEPTION = 'console.exception'; | 49 const EXCEPTION = 'console.exception'; |
50 | |
51 /** | |
52 * The ERROR event occurs when an uncaught exception or error appears. | |
53 * | |
54 * This event allows you to deal with the exception/error or | |
55 * to modify the thrown exception. | |
56 * | |
57 * @Event("Symfony\Component\Console\Event\ConsoleErrorEvent") | |
58 */ | |
59 const ERROR = 'console.error'; | |
53 } | 60 } |