@@ -146,10 +146,10 @@ the Request attributes.
146
146
Handling Requests
147
147
~~~~~~~~~~~~~~~~~
148
148
149
- The :method: `Symfony\\ Component\\ HttpKernel\\ HttpKernel::handle ` method
150
- takes a ``Request `` and *always * returns a ``Response ``. To convert the
151
- ``Request ``, ``handle() `` relies on the Resolver and an ordered chain of
152
- Event notifications (see the next section for more information about each
149
+ The :method: `Symfony\\ Component\\ HttpKernel\\ HttpKernel::handle ` method
150
+ takes a ``Request `` and *always * returns a ``Response ``. To convert the
151
+ ``Request ``, ``handle() `` relies on the Resolver and an ordered chain of
152
+ Event notifications (see the next section for more information about each
153
153
Event):
154
154
155
155
#. Before doing anything else, the ``kernel.request `` event is notified -- if
@@ -209,14 +209,14 @@ Each event thrown by the Kernel is a subclass of
209
209
:class: `Symfony\\ Component\\ HttpKernel\\ Event\\ KernelEvent `. This means that
210
210
each event has access to the same basic information:
211
211
212
- * :method: `Symfony\\ Component\\ HttpKernel\\ Event\\ KernelEvent::getRequestType `
213
- - returns the *type * of the request (``HttpKernelInterface::MASTER_REQUEST ``
212
+ * :method: `Symfony\\ Component\\ HttpKernel\\ Event\\ KernelEvent::getRequestType `
213
+ - returns the *type * of the request (``HttpKernelInterface::MASTER_REQUEST ``
214
214
or ``HttpKernelInterface::SUB_REQUEST ``);
215
215
216
- * :method: `Symfony\\ Component\\ HttpKernel\\ Event\\ KernelEvent::getKernel `
216
+ * :method: `Symfony\\ Component\\ HttpKernel\\ Event\\ KernelEvent::getKernel `
217
217
- returns the Kernel handling the request;
218
218
219
- * :method: `Symfony\\ Component\\ HttpKernel\\ Event\\ KernelEvent::getRequest `
219
+ * :method: `Symfony\\ Component\\ HttpKernel\\ Event\\ KernelEvent::getRequest `
220
220
- returns the current ``Request `` being handled.
221
221
222
222
``getRequestType() ``
@@ -513,7 +513,7 @@ HTTP header of the Response::
513
513
want to get the token for an Ajax request, use a tool like Firebug to get
514
514
the value of the ``X-Debug-Token `` HTTP header.
515
515
516
- Use the :method: `Symfony\\ Component\\ HttpKernel\\ Profiler\\ Profiler::find `
516
+ Use the :method: `Symfony\\ Component\\ HttpKernel\\ Profiler\\ Profiler::find `
517
517
method to access tokens based on some criteria::
518
518
519
519
// get the latest 10 tokens
@@ -526,8 +526,8 @@ method to access tokens based on some criteria::
526
526
$tokens = $container->get('profiler')->find('127.0.0.1', '', 10);
527
527
528
528
If you want to manipulate profiling data on a different machine than the one
529
- where the information were generated, use the
530
- :method: `Symfony\\ Component\\ HttpKernel\\ Profiler\\ Profiler::export ` and
529
+ where the information were generated, use the
530
+ :method: `Symfony\\ Component\\ HttpKernel\\ Profiler\\ Profiler::export ` and
531
531
:method: `Symfony\\ Component\\ HttpKernel\\ Profiler\\ Profiler::import ` methods::
532
532
533
533
// on the production machine
0 commit comments