File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
src/Symfony/Component/HttpKernel Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,16 @@ final class KernelEvents
29
29
*/
30
30
const REQUEST = 'kernel.request ' ;
31
31
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
+
32
42
/**
33
43
* The CONTROLLER event occurs once a controller was found for
34
44
* handling a request.
@@ -90,14 +100,4 @@ final class KernelEvents
90
100
* @Event("Symfony\Component\HttpKernel\Event\TerminateEvent")
91
101
*/
92
102
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 ' ;
103
103
}
You can’t perform that action at this time.
0 commit comments