ValidateRequestListener

ValidateRequestListener

class ValidateRequestListener implements EventSubscriberInterface

Validates that the headers and other information indicating the client IP address of a request are consistent.

Methods

onKernelRequest(GetResponseEvent $event)

Performs the validation.

static array getSubscribedEvents()

Returns an array of event names this subscriber wants to listen to.

De