class FilterResponseEvent extends KernelEvent
Allows to filter a Response object
You can call getResponse() to retrieve the current response. With
setResponse() you can set a new response that will be returned to the
browser.
Methods
| __construct(HttpKernelInterface $kernel, Request $request, $requestType, Response $response) | ||
| Response |
getResponse()
Returns the current response object |
|
|
setResponse(Response $response)
Sets a new response object |
Details
at line 37
public
__construct(HttpKernelInterface $kernel, Request $request, $requestType, Response $response)
at line 51
public Response
getResponse()
Returns the current response object
at line 63
public
setResponse(Response $response)
Sets a new response object