Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions components/http_kernel/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -569,21 +569,23 @@ each event has their own event object:

.. _component-http-kernel-event-table:

+-------------------+-------------------------------+-------------------------------------------------------------------------------------+
| **Name** | ``KernelEvents`` **Constant** | **Argument passed to the listener** |
+-------------------+-------------------------------+-------------------------------------------------------------------------------------+
| kernel.request | ``KernelEvents::REQUEST`` | :class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent` |
+-------------------+-------------------------------+-------------------------------------------------------------------------------------+
| kernel.controller | ``KernelEvents::CONTROLLER`` | :class:`Symfony\\Component\\HttpKernel\\Event\\FilterControllerEvent` |
+-------------------+-------------------------------+-------------------------------------------------------------------------------------+
| kernel.view | ``KernelEvents::VIEW`` | :class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent` |
+-------------------+-------------------------------+-------------------------------------------------------------------------------------+
| kernel.response | ``KernelEvents::RESPONSE`` | :class:`Symfony\\Component\\HttpKernel\\Event\\FilterResponseEvent` |
+-------------------+-------------------------------+-------------------------------------------------------------------------------------+
| kernel.terminate | ``KernelEvents::TERMINATE`` | :class:`Symfony\\Component\\HttpKernel\\Event\\PostResponseEvent` |
+-------------------+-------------------------------+-------------------------------------------------------------------------------------+
| kernel.exception | ``KernelEvents::EXCEPTION`` | :class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent` |
+-------------------+-------------------------------+-------------------------------------------------------------------------------------+
+-----------------------+----------------------------------+-------------------------------------------------------------------------------------+
| **Name** | ``KernelEvents`` **Constant** | **Argument passed to the listener** |
+-----------------------+----------------------------------+-------------------------------------------------------------------------------------+
| kernel.request | ``KernelEvents::REQUEST`` | :class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent` |
+-----------------------+----------------------------------+-------------------------------------------------------------------------------------+
| kernel.controller | ``KernelEvents::CONTROLLER`` | :class:`Symfony\\Component\\HttpKernel\\Event\\FilterControllerEvent` |
+-----------------------+----------------------------------+-------------------------------------------------------------------------------------+
| kernel.view | ``KernelEvents::VIEW`` | :class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent` |
+-----------------------+----------------------------------+-------------------------------------------------------------------------------------+
| kernel.response | ``KernelEvents::RESPONSE`` | :class:`Symfony\\Component\\HttpKernel\\Event\\FilterResponseEvent` |
+-----------------------+----------------------------------+-------------------------------------------------------------------------------------+
| kernel.finish_request | ``KernelEvents::FINISH_REQUEST`` | :class:`Symfony\\Component\\HttpKernel\\Event\\FinishRequestEvent` |
+-----------------------+----------------------------------+-------------------------------------------------------------------------------------+
| kernel.terminate | ``KernelEvents::TERMINATE`` | :class:`Symfony\\Component\\HttpKernel\\Event\\PostResponseEvent` |
+-----------------------+----------------------------------+-------------------------------------------------------------------------------------+
| kernel.exception | ``KernelEvents::EXCEPTION`` | :class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent` |
+-----------------------+----------------------------------+-------------------------------------------------------------------------------------+

.. _http-kernel-working-example:

Expand Down