Symfony\Component\HttpKernel\Event\PostResponseEvent
Allows to execute logic after a response was sent
- Author: Jordi Boggiano <j.boggiano@seld.be>
Synopsis
class PostResponseEvent
extends Event
{
- // methods
- public void __construct()
- public HttpKernelInterface getKernel()
- public Request getRequest()
- public Response getResponse()
- // Inherited methods from Event
- public Boolean isPropagationStopped()
- public void stopPropagation()
- public void setDispatcher()
- public EventDispatcherInterface getDispatcher()
- public string getName()
- public void setName()
Hierarchy
Members
private
- $kernel
—
Symfony\Component\HttpKernel\HttpKernelInterface
The kernel in which this event was thrown - $request
- $response
Methods
public
- __construct()
- getKernel() — Returns the kernel in which this event was thrown.
- getRequest() — Returns the request for which this event was thrown.
- getResponse() — Returns the response for which this event was thrown.
Inherited from Symfony\Component\EventDispatcher\Event
public
- getDispatcher() — Returns the EventDispatcher that dispatches this Event
- getName() — Gets the event's name.
- isPropagationStopped() — Returns whether further event listeners should be triggered.
- setDispatcher() — Stores the EventDispatcher that dispatches this Event
- setName() — Sets the event's name property.
- stopPropagation() — Stops the propagation of the event to further event listeners.