@@ -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
@@ -241,8 +241,8 @@ add the following code at the beginning of your listener method::
241241
242242.. tip ::
243243
244- If you are not yet familiar with the Symfony EventDispatcher, read the
245- :doc: `EventDispatcher component documentation </components/event_dispatcher/introduction >`
244+ If you are not yet familiar with the Symfony EventDispatcher component,
245+ read :doc: `its documentation </components/event_dispatcher/introduction >`
246246 section first.
247247
248248.. index ::
@@ -354,7 +354,7 @@ The FrameworkBundle registers several listeners:
354354 Collects data for the current request.
355355
356356:class: `Symfony\\ Bundle\\ WebProfilerBundle\\ EventListener\\ WebDebugToolbarListener `
357- Injects the Web Debug Toolbar .
357+ Injects the web debug toolbar .
358358
359359:class: `Symfony\\ Component\\ HttpKernel\\ EventListener\\ ResponseListener `
360360 Fixes the Response ``Content-Type `` based on the request format.
@@ -412,7 +412,7 @@ forwards the ``Request`` to a given Controller (the value of the
412412``class::method `` notation).
413413
414414A listener on this event can create and set a ``Response `` object, create
415- and set a new ``Exception `` object, or do nothing::
415+ and set a new ``Exception `` object or do nothing::
416416
417417 use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
418418 use Symfony\Component\HttpFoundation\Response;
@@ -452,8 +452,10 @@ and set a new ``Exception`` object, or do nothing::
452452.. index ::
453453 single: EventDispatcher
454454
455- The EventDispatcher
456- -------------------
455+ .. _the-eventdispatcher :
456+
457+ The EventDispatcher Component
458+ -----------------------------
457459
458460The EventDispatcher is a standalone component that is responsible for much
459461of the underlying logic and flow behind a Symfony request. For more information,
@@ -474,7 +476,7 @@ enhance performance; use it in the production environment to explore problems
474476after the fact.
475477
476478You rarely have to deal with the profiler directly as Symfony provides
477- visualizer tools like the Web Debug Toolbar and the Web Profiler . If you use
479+ visualizer tools like the web debug toolbar and the web profiler . If you use
478480the Symfony Standard Edition, the profiler, the web debug toolbar, and the
479481web profiler are all already configured with sensible settings.
480482
@@ -500,7 +502,7 @@ bottom of all pages. It displays a good summary of the profiling data that
500502gives you instant access to a lot of useful information when something does
501503not work as expected.
502504
503- If the summary provided by the Web Debug Toolbar is not enough, click on the
505+ If the summary provided by the web debug toolbar is not enough, click on the
504506token link (a string made of 13 random characters) to access the Web Profiler.
505507
506508.. note ::
0 commit comments