@@ -12,7 +12,7 @@ for handling client requests. Its main goal is to "convert"
12
12
All Symfony2 Kernels implement
13
13
:class: `Symfony\\ Component\\ HttpKernel\\ HttpKernelInterface `::
14
14
15
- function handle(Request $request = null , $type = self::MASTER_REQUEST, $raw = false);
15
+ function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true)
16
16
17
17
.. index ::
18
18
single: Internals; Controller Resolver
@@ -134,7 +134,7 @@ the type of the request. For instance, if a listener must only be active for
134
134
master requests, add the following code at the beginning of your listener
135
135
method::
136
136
137
- if (HttpKernelInterface::MASTER_REQUEST !== $event->getParameter ('request_type')) {
137
+ if (HttpKernelInterface::MASTER_REQUEST !== $event->get ('request_type')) {
138
138
// return immediately
139
139
// if the event is a filter, return the filtered value instead
140
140
return;
@@ -208,11 +208,11 @@ view sub-system.
208
208
209
209
``FrameworkBundle `` registers several listeners:
210
210
211
- * :class: `Symfony\\ Component\\ HttpKernel\\ Profiler\\ ProfilerListener `: collects
212
- data for the current request;
211
+ * :class: `Symfony\\ Component\\ HttpKernel\\ Profiler\\ ProfilerListener `:
212
+ collects data for the current request;
213
213
214
- * :class: `Symfony\\ Bundle\\ WebProfilerBundle\\ WebDebugToolbarListener `: injects
215
- the Web Debug Toolbar;
214
+ * :class: `Symfony\\ Bundle\\ WebProfilerBundle\\ WebDebugToolbarListener `:
215
+ injects the Web Debug Toolbar;
216
216
217
217
* :class: `Symfony\\ Component\\ HttpKernel\\ ResponseListener `: fixes the
218
218
Response ``Content-Type ``;
0 commit comments