You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* All exceptions are caught, and a core.exception event is notified
56
60
* for user management.
57
61
*
58
-
* @param Request $request A Request instance
59
-
* @param integer $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST, HttpKernelInterface::FORWARDED_REQUEST, or HttpKernelInterface::EMBEDDED_REQUEST)
60
-
* @param Boolean $raw Whether to catch exceptions or not
62
+
* @param \Symfony\Components\HttpFoundation\Request $request A Request instance
63
+
* @param integer $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST, HttpKernelInterface::FORWARDED_REQUEST, or HttpKernelInterface::EMBEDDED_REQUEST)
64
+
* @param Boolean $raw Whether to catch exceptions or not
61
65
*
62
-
* @return Response A Response instance
66
+
* @return \Symfony\Components\HttpFoundation\Response A Response instance
63
67
*
64
68
* @throws \Exception When an Exception occurs during processing
65
69
* and couldn't be caught by event processing or $raw is true
@@ -100,13 +104,13 @@ public function handle(Request $request = null, $type = HttpKernelInterface::MAS
100
104
*
101
105
* Exceptions are not caught.
102
106
*
103
-
* @param Request $request A Request instance
104
-
* @param integer $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST, HttpKernelInterface::FORWARDED_REQUEST, or HttpKernelInterface::EMBEDDED_REQUEST)
107
+
* @param \Symfony\Components\HttpFoundation\Request $request A Request instance
108
+
* @param integer $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST, HttpKernelInterface::FORWARDED_REQUEST, or HttpKernelInterface::EMBEDDED_REQUEST)
105
109
*
106
-
* @return Response A Response instance
110
+
* @return \Symfony\Components\HttpFoundation\Response A Response instance
107
111
*
108
-
* @throws \LogicException If one of the listener does not behave as expected
109
-
* @throws NotFoundHttpException When controller cannot be found
112
+
* @throws \LogicException If one of the listener does not behave as expected
113
+
* @throws \Symfony\Components\HttpKernel\Exception\NotFoundHttpException When controller cannot be found
* @param string $message A error message in case the response is not a Response object
187
-
* @param integer $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST, HttpKernelInterface::FORWARDED_REQUEST, or HttpKernelInterface::EMBEDDED_REQUEST)
182
+
* @param \Symfony\Components\HttpFoundation\Response $response A Response instance
183
+
* @param string $message A error message in case the response is not a Response object
184
+
* @param integer $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST, HttpKernelInterface::FORWARDED_REQUEST, or HttpKernelInterface::EMBEDDED_REQUEST)
188
185
*
189
-
* @return Response The filtered Response instance
186
+
* @return \Symfony\Components\HttpFoundation\Response The filtered Response instance
190
187
*
191
188
* @throws \RuntimeException if the passed object is not a Response instance
Copy file name to clipboardExpand all lines: src/Symfony/Components/HttpKernel/HttpKernelInterface.php
+5-5
Original file line number
Diff line number
Diff line change
@@ -29,18 +29,18 @@ interface HttpKernelInterface
29
29
/**
30
30
* Handles a request to convert it to a response.
31
31
*
32
-
* @param Request $request A Request instance
33
-
* @param integer $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST, HttpKernelInterface::FORWARDED_REQUEST, or HttpKernelInterface::EMBEDDED_REQUEST)
34
-
* @param Boolean $raw Whether to catch exceptions or not
32
+
* @param \Symfony\Components\HttpFoundation\Request $request A Request instance
33
+
* @param integer $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST, HttpKernelInterface::FORWARDED_REQUEST, or HttpKernelInterface::EMBEDDED_REQUEST)
34
+
* @param Boolean $raw Whether to catch exceptions or not
35
35
*
36
-
* @return Response $response A Response instance
36
+
* @return \Symfony\Components\HttpFoundation\Response $response A Response instance
0 commit comments