@@ -55,7 +55,7 @@ On top of HttpFoundation is the :namespace:`Symfony\\Component\\HttpKernel`
5555component. HttpKernel handles the dynamic part of HTTP; it is a thin wrapper
5656on top of the Request and Response classes to standardize the way requests are
5757handled. It also provides extension points and tools that makes it the ideal
58- starting point to create a Web framework without too much overhead.
58+ starting point to create a web framework without too much overhead.
5959
6060It also optionally adds configurability and extensibility, thanks to the
6161DependencyInjection component and a powerful plugin system (bundles).
@@ -177,12 +177,12 @@ Event):
177177#. Listeners of the ``kernel.terminate `` event can perform tasks after the
178178 Response has been served.
179179
180- If an Exception is thrown during processing, the ``kernel.exception `` is
181- notified and listeners are given a chance to convert the Exception to a
180+ If an exception is thrown during processing, the ``kernel.exception `` is
181+ notified and listeners are given a chance to convert the exception into a
182182Response. If that works, the ``kernel.response `` event is notified; if not, the
183183Exception is re-thrown.
184184
185- If you don't want Exceptions to be caught (for embedded requests for
185+ If you don't want exceptions to be caught (for embedded requests for
186186instance), disable the ``kernel.exception `` event by passing ``false `` as the
187187third argument to the ``handle() `` method.
188188
@@ -238,8 +238,8 @@ add the following code at the beginning of your listener method::
238238
239239.. tip ::
240240
241- If you are not yet familiar with the Symfony EventDispatcher, read the
242- :doc: `EventDispatcher component documentation </components/event_dispatcher/introduction >`
241+ If you are not yet familiar with the Symfony EventDispatcher component,
242+ read :doc: `its documentation </components/event_dispatcher/introduction >`
243243 section first.
244244
245245.. index ::
@@ -351,7 +351,7 @@ The FrameworkBundle registers several listeners:
351351 Collects data for the current request.
352352
353353:class: `Symfony\\ Bundle\\ WebProfilerBundle\\ EventListener\\ WebDebugToolbarListener `
354- Injects the Web Debug Toolbar .
354+ Injects the web debug toolbar .
355355
356356:class: `Symfony\\ Component\\ HttpKernel\\ EventListener\\ ResponseListener `
357357 Fixes the Response ``Content-Type `` based on the request format.
@@ -396,7 +396,7 @@ forwards the ``Request`` to a given Controller (the value of the
396396``class::method `` notation).
397397
398398A listener on this event can create and set a ``Response `` object, create
399- and set a new ``Exception `` object, or do nothing::
399+ and set a new ``Exception `` object or do nothing::
400400
401401 use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
402402 use Symfony\Component\HttpFoundation\Response;
@@ -433,8 +433,10 @@ and set a new ``Exception`` object, or do nothing::
433433.. index ::
434434 single: EventDispatcher
435435
436- The EventDispatcher
437- -------------------
436+ .. _the-eventdispatcher :
437+
438+ The EventDispatcher Component
439+ -----------------------------
438440
439441The EventDispatcher is a standalone component that is responsible for much
440442of the underlying logic and flow behind a Symfony request. For more information,
@@ -455,7 +457,7 @@ enhance performance; use it in the production environment to explore problems
455457after the fact.
456458
457459You rarely have to deal with the profiler directly as Symfony provides
458- visualizer tools like the Web Debug Toolbar and the Web Profiler . If you use
460+ visualizer tools like the web debug toolbar and the web profiler . If you use
459461the Symfony Standard Edition, the profiler, the web debug toolbar, and the
460462web profiler are all already configured with sensible settings.
461463
@@ -481,7 +483,7 @@ bottom of all pages. It displays a good summary of the profiling data that
481483gives you instant access to a lot of useful information when something does
482484not work as expected.
483485
484- If the summary provided by the Web Debug Toolbar is not enough, click on the
486+ If the summary provided by the web debug toolbar is not enough, click on the
485487token link (a string made of 13 random characters) to access the Web Profiler.
486488
487489.. note ::
0 commit comments