ValidateRequestListener
in package
implements
EventSubscriberInterface
Validates Requests.
Tags
Interfaces, Classes and Traits
- EventSubscriberInterface
- An EventSubscriber knows itself what events it is interested in.
Table of Contents
-
getSubscribedEvents()
: array<string, string|array{0: string, 1: int}|list
> - Returns an array of event names this subscriber wants to listen to.
- onKernelRequest() : mixed
- Performs the validation.
Methods
getSubscribedEvents()
Returns an array of event names this subscriber wants to listen to.
public
static getSubscribedEvents() : array<string, string|array{0: string, 1: int}|list>
Return values
array<string, string|array{0: string, 1: int}|listonKernelRequest()
Performs the validation.
public
onKernelRequest(RequestEvent $event) : mixed
Parameters
- $event : RequestEvent