Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 70a3893

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

File tree

Expand file treeCollapse file tree

1 file changed

+13
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+13
-0
lines changed

‎book/internals.rst

Copy file name to clipboardExpand all lines: book/internals.rst
+13Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.