Skip to content

Commit 70a3893

Browse files
committed
feature symfony#3774 [Book][Internals] add description for the kernel.finish_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 | symfony#2959 Commits ------- f02fb35 [Book][Internals] add description for the kernel.finish_request event
2 parents 1172b7d + f02fb35 commit 70a3893

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

book/internals.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,19 @@ The FrameworkBundle registers several listeners:
364364

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

367+
.. index::
368+
single: Event; kernel.finish_request
369+
370+
``kernel.finish_request`` Event
371+
...............................
372+
373+
*Event Class*: :class:`Symfony\\Component\\HttpKernel\\Event\\FinishRequestEvent`
374+
375+
The purpose of this event is to to handle tasks that should be performed after
376+
the request has been handled but that do not need to modify the response.
377+
Event listeners for the ``kernel.finish_request`` event are called in both
378+
successful and exception cases.
379+
367380
.. index::
368381
single: Event; kernel.terminate
369382

0 commit comments

Comments
 (0)