class PostResponseEvent extends KernelEvent

Allows to execute logic after a response was sent.

Since it's only triggered on master requests, the getRequestType() method will always return the value of HttpKernelInterface::MASTER_REQUEST.

Methods

__construct(HttpKernelInterface $kernel, Request $request, Response $response)

No description

Response
getResponse()

Returns the response for which this event was thrown.

Details

at line line 30
__construct(HttpKernelInterface $kernel, Request $request, Response $response)

Parameters

HttpKernelInterface $kernel
Request $request
Response $response

at line line 42
Response getResponse()

Returns the response for which this event was thrown.

Return Value

Response