8000 [Internals] Complete notification description for kernel.terminate by bicpi · Pull Request #3659 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Internals] Complete notification description for kernel.terminate #3659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 19, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[Internals] Complete notification description for kernel.terminate
  • Loading branch information
bicpi committed Mar 10, 2014
commit 7e09e825996b147eafa52da32abdb173030d3e6d
7 changes: 6 additions & 1 deletion book/internals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ Event):
#. Listeners of the ``kernel.response`` event can manipulate the ``Response``
(content and headers);

#. The Response is returned.
#. The Response is returned;

#. Listeners of the ``kernel.terminate`` event can perform tasks after the
Response has been served.

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

*Event Class*: :class:`Symfony\\Component\\HttpKernel\\Event\\PostResponseEvent`

The purpose of this event is to perform "heavier" tasks after the response
was already served to the client.

Expand Down
0