Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit57f7e98

Browse files
DanielFatkicweaverryan
authored andcommitted
corrected console exception event classname
1 parente55f0f7 commit57f7e98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎components/console/events.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ event is dispatched. A listener can wrap or change the exception or do
9898
anything useful before the exception is thrown by the application.
9999

100100
Listeners receive a
101-
:class:`Symfony\\Component\\Console\\Event\\ConsoleForExceptionEvent` event::
101+
:class:`Symfony\\Component\\Console\\Event\\ConsoleExceptionEvent` event::
102102

103-
use Symfony\Component\Console\Event\ConsoleForExceptionEvent;
103+
use Symfony\Component\Console\Event\ConsoleExceptionEvent;
104104
use Symfony\Component\Console\ConsoleEvents;
105105

106-
$dispatcher->addListener(ConsoleEvents::EXCEPTION, function (ConsoleForExceptionEvent $event) {
106+
$dispatcher->addListener(ConsoleEvents::EXCEPTION, function (ConsoleExceptionEvent $event) {
107107
$output = $event->getOutput();
108108

109109
$command = $event->getCommand();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp