Skip to content

Commit f02fb35

Browse files
committed
[Book][Internals] add description for the kernel.finish_request event
1 parent 1172b7d commit f02fb35

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)