FilterControllerArgumentsEvent
class FilterControllerArgumentsEvent extends FilterControllerEvent
Allows filtering of controller arguments.
You can call getController() to retrieve the controller and getArguments to retrieve the current arguments. With setArguments() you can replace arguments that are used to call the controller.
Arguments set in the event must be compatible with the signature of the controller.
Methods
__construct(HttpKernelInterface $kernel, callable $controller, array $arguments, Request $request, int|null $requestType)
No description
array
getArguments()
No description
setArguments(array $arguments)
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().