Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/console/Event/ConsoleExceptionEvent.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 |
---|---|
9 * file that was distributed with this source code. | 9 * file that was distributed with this source code. |
10 */ | 10 */ |
11 | 11 |
12 namespace Symfony\Component\Console\Event; | 12 namespace Symfony\Component\Console\Event; |
13 | 13 |
14 @trigger_error(sprintf('The "%s" class is deprecated since Symfony 3.3 and will be removed in 4.0. Use the ConsoleErrorEvent instead.', ConsoleExceptionEvent::class), E_USER_DEPRECATED); | |
15 | |
14 use Symfony\Component\Console\Command\Command; | 16 use Symfony\Component\Console\Command\Command; |
15 use Symfony\Component\Console\Input\InputInterface; | 17 use Symfony\Component\Console\Input\InputInterface; |
16 use Symfony\Component\Console\Output\OutputInterface; | 18 use Symfony\Component\Console\Output\OutputInterface; |
17 | 19 |
18 /** | 20 /** |
19 * Allows to handle exception thrown in a command. | 21 * Allows to handle exception thrown in a command. |
20 * | 22 * |
21 * @author Fabien Potencier <fabien@symfony.com> | 23 * @author Fabien Potencier <fabien@symfony.com> |
24 * | |
25 * @deprecated since version 3.3, to be removed in 4.0. Use ConsoleErrorEvent instead. | |
22 */ | 26 */ |
23 class ConsoleExceptionEvent extends ConsoleEvent | 27 class ConsoleExceptionEvent extends ConsoleEvent |
24 { | 28 { |
25 private $exception; | 29 private $exception; |
26 private $exitCode; | 30 private $exitCode; |