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.
in Event at line 42
Returns whether further event listeners should be triggered.
in Event at line 54
Stops the propagation of the event to further event listeners.
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().
at line 31
__construct(HttpKernelInterface $kernel, Request $request, int|null $requestType, Response $response)
in KernelEvent at line 47
Returns the kernel in which this event was thrown.
in KernelEvent at line 57
Returns the request the kernel is currently processing.
in KernelEvent at line 68
Returns the request type the kernel is currently processing.
in KernelEvent at line 78
Checks if this is a master request.
at line 43
Returns the current response object.
at line 51
Sets a new response object.