8000 feature #3659 [Internals] Complete notification description for kerne… · symfony/symfony-docs@3e7028d · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e7028d

Browse files
committed
feature #3659 [Internals] Complete notification description for kernel.terminate (bicpi)
This PR was merged into the 2.3 branch. Discussion ---------- [Internals] Complete notification description for kernel.terminate | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | - Commits ------- 7e09e82 [Internals] Complete notification description for kernel.terminate
2 parents d617011 + 7e09e82 commit 3e7028d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

book/internals.rst

Lines changed: 6 additions & 1 deletion
Original file line numb C4EA erDiff line numberDiff line change
@@ -172,7 +172,10 @@ Event):
172172
#. Listeners of the ``kernel.response`` event can manipulate the ``Response``
173173
(content and headers);
174174

175-
#. The Response is returned.
175+
#. The Response is returned;
176+
177+
#. Listeners of the ``kernel.terminate`` event can perform tasks after the
178+
Response has been served.
176179

177180
If an Exception is thrown during processing, the ``kernel.exception`` is
178181
notified and listeners are given a chance to convert the Exception to a
@@ -367,6 +370,8 @@ The FrameworkBundle registers several listeners:
367370
``kernel.terminate`` Event
368371
..........................
369372

373+
*Event Class*: :class:`Symfony\\Component\\HttpKernel\\Event\\PostResponseEvent`
374+
370375
The purpose of this event is to perform "heavier" tasks after the response
371376
was already served to the client.
372377

0 commit comments

Comments
 (0)
0