8000 Revert kernel.exception position · symfony/symfony@1814a41 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1814a41

Browse files
committed
Revert kernel.exception position
1 parent ffc6c86 commit 1814a41

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/Symfony/Component/HttpKernel/KernelEvents.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ final class KernelEvents
2929
*/
3030
const REQUEST = 'kernel.request';
3131

32+
/**
33+
* The EXCEPTION event occurs when an uncaught exception appears.
34+
*
35+
* This event allows you to create a response for a thrown exception or
36+
* to modify the thrown exception.
37+
*
38+
* @Event("Symfony\Component\HttpKernel\Event\ExceptionEvent")
39+
*/
40+
const EXCEPTION = 'kernel.exception';
41+
3242
/**
3343
* The CONTROLLER event occurs once a controller was found for
3444
* handling a request.
@@ -90,14 +100,4 @@ final class KernelEvents
90100
* @Event("Symfony\Component\HttpKernel\Event\TerminateEvent")
91101
*/
92102
const TERMINATE = 'kernel.terminate';
93-
94-
/**
95-
* The EXCEPTION event occurs when an uncaught exception appears.
96-
*
97-
* This event allows you to create a response for a thrown exception or
98-
* to modify the thrown exception.
99-
*
100-
* @Event("Symfony\Component\HttpKernel\Event\ExceptionEvent")
101-
*/
102-
const EXCEPTION = 'kernel.exception';
103103
}

0 commit comments

Comments
 (0)
0