FilterControllerEvent
class FilterControllerEvent extends KernelEvent
Allows filtering of a controller callable.
You can call getController() to retrieve the current controller. With setController() you can set a new controller that is used in the processing of the request.
Controllers should be callables.
Methods
__construct(HttpKernelInterface $kernel, callable $controller, Request $request, int|null $requestType)
No description
callable
getController()
Returns the current controller.
setController(callable $controller)
No description
Details
stopPropagation()
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().