File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,12 +98,12 @@ event is dispatched. A listener can wrap or change the exception or do
98
98
anything useful before the exception is thrown by the application.
99
99
100
100
Listeners receive a
101
- :class: `Symfony\\ Component\\ Console\\ Event\\ ConsoleForExceptionEvent ` event::
101
+ :class: `Symfony\\ Component\\ Console\\ Event\\ ConsoleExceptionEvent ` event::
102
102
103
- use Symfony\Component\Console\Event\ConsoleForExceptionEvent ;
103
+ use Symfony\Component\Console\Event\ConsoleExceptionEvent ;
104
104
use Symfony\Component\Console\ConsoleEvents;
105
105
106
- $dispatcher->addListener(ConsoleEvents::EXCEPTION, function (ConsoleForExceptionEvent $event) {
106
+ $dispatcher->addListener(ConsoleEvents::EXCEPTION, function (ConsoleExceptionEvent $event) {
107
107
$output = $event->getOutput();
108
108
109
109
$command = $event->getCommand();
You can’t perform that action at this time.
0 commit comments