sajad torkamani

When is it dispatched?

Dispatched after the response has been sent (i.e., after handle() has been executed). See here for the relevant source code.

Use cases

  • Perform slow or complex tasks that don’t need to be completed to send an HTTP response (e.g., sending emails).

List event listeners

php bin/console debug:event-dispatcher kernel.terminate
Tagged: Symfony

References (8)

Posts that link to this one.

Mentions (7)

Posts this one links to.