Skip to content

Commit a54b298

Browse files
cordovalweaverryan
authored andcommitted
rewrite of internals
advance sample on internals rewrite add links to components for foundation and kernel link more events and add link of missing terminate event keep </ consistency fix as </ is for paths and not for references changed reference link as per stof's comment
1 parent eb4193f commit a54b298

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

book/internals.rst

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ variables:
4646
:class:`Symfony\\Component\\HttpFoundation\\SessionStorage\\SessionStorageInterface`
4747
interface abstract session management ``session_*()`` functions.
4848

49+
.. note::
50+
51+
Read more about the :doc:`HttpFoundation Component </components/http_foudation/introduction>`.
52+
4953
``HttpKernel`` Component
5054
~~~~~~~~~~~~~~~~~~~~~~~~
5155

@@ -60,7 +64,8 @@ Dependency Injection component and a powerful plugin system (bundles).
6064

6165
.. seealso::
6266

63-
Read more about :doc:`Dependency Injection </book/service_container>` and
67+
Read more about the :doc:`HttpKernel Component </components/http_kernel/introduction>`,
68+
:doc:`Dependency Injection </book/service_container>` and
6469
:doc:`Bundles </cookbook/bundles/best_practices>`.
6570

6671
``FrameworkBundle`` Bundle
@@ -258,6 +263,10 @@ uses a :class:`Symfony\\Component\\Routing\\RouterInterface` object to match
258263
the ``Request`` and determine the Controller name (stored in the
259264
``_controller`` ``Request`` attribute).
260265

266+
.. seealso::
267+
268+
Read more on the :ref:`kernel.request event <component-http-kernel-kernel-request>`.
269+
261270
.. index::
262271
single: Event; kernel.controller
263272

@@ -280,6 +289,10 @@ to modify the controller that should be executed::
280289
$event->setController($controller);
281290
}
282291

292+
.. seealso::
293+
294+
Read more on the :ref:`kernel.controller event <component-http-kernel-kernel-controller>`.
295+
283296
.. index::
284297
single: Event; kernel.view
285298

@@ -309,6 +322,10 @@ The value returned by the Controller is accessible via the
309322
$event->setResponse($response);
310323
}
311324

325+
.. seealso::
326+
327+
Read more on the :ref:`kernel.view event <component-http-kernel-kernel-view>`.
328+
312329
.. index::
313330
single: Event; kernel.response
314331

@@ -342,6 +359,10 @@ The ``FrameworkBundle`` registers several listeners:
342359
``Surrogate-Control`` HTTP header when the Response needs to be parsed for
343360
ESI tags.
344361

362+
.. seealso::
363+
364+
Read more on the :ref:`kernel.response event <component-http-kernel-kernel-response>`.
365+
345366
.. index::
346367
single: Event; kernel.exception
347368

@@ -386,6 +407,10 @@ The event dispatcher is a standalone component that is responsible for much
386407
of the underlying logic and flow behind a Symfony request. For more information,
387408
see the :doc:`Event Dispatcher Component Documentation</components/event_dispatcher/introduction>`.
388409

410+
.. seealso::
411+
412+
Read more on the :ref:`kernel.exception event <component-http-kernel-kernel-exception>`.
413+
389414
.. index::
390415
single: Profiler
391416

components/http_kernel/introduction.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ will be called after another event - ``kernel.controller`` - is dispatched.
256256
There are also a few other variations on the above process (e.g. if
257257
you're registering your controllers as services).
258258

259+
.. _component-http-kernel-kernel-controller:
260+
259261
3) The ``kernel.controller`` event
260262
----------------------------------
261263

0 commit comments

Comments
 (0)