Skip to content

Commit

Permalink
feature #3774 [Book][Internals] add description for the kernel.finish…
Browse files Browse the repository at this point in the history
…_request event (xabbuh)

This PR was merged into the 2.4 branch.

Discussion
----------

[Book][Internals] add description for the kernel.finish_request event

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | 2.4+
| Fixed tickets | #2959

Commits
-------

f02fb35 [Book][Internals] add description for the kernel.finish_request event
  • Loading branch information
weaverryan committed Apr 12, 2014
2 parents 1172b7d + f02fb35 commit 70a3893
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions book/internals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,19 @@ The FrameworkBundle registers several listeners:

Read more on the :ref:`kernel.response event <component-http-kernel-kernel-response>`.

.. index::
single: Event; kernel.finish_request

``kernel.finish_request`` Event
...............................

*Event Class*: :class:`Symfony\\Component\\HttpKernel\\Event\\FinishRequestEvent`

The purpose of this event is to to handle tasks that should be performed after
the request has been handled but that do not need to modify the response.
Event listeners for the ``kernel.finish_request`` event are called in both
successful and exception cases.

.. index::
single: Event; kernel.terminate

Expand Down

0 comments on commit 70a3893

Please sign in to comment.