Skip to content

Commit 7e09e82

Browse files
committed
[Internals] Complete notification description for kernel.terminate
1 parent 2ee1a64 commit 7e09e82

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 numberDiff 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)