1. 8.5.x vendor/symfony/http-kernel/KernelEvents.php KernelEvents::REQUEST
  2. 8.0.x vendor/symfony/http-kernel/KernelEvents.php KernelEvents::REQUEST
  3. 8.1.x vendor/symfony/http-kernel/KernelEvents.php KernelEvents::REQUEST
  4. 8.2.x vendor/symfony/http-kernel/KernelEvents.php KernelEvents::REQUEST
  5. 8.3.x vendor/symfony/http-kernel/KernelEvents.php KernelEvents::REQUEST
  6. 8.4.x vendor/symfony/http-kernel/KernelEvents.php KernelEvents::REQUEST
  7. 8.6.x vendor/symfony/http-kernel/KernelEvents.php KernelEvents::REQUEST

The REQUEST event occurs at the very beginning of request dispatching.

This event allows you to create a response for a request before any other code in the framework is executed. The event listener method receives a Symfony\Component\HttpKernel\Event\GetResponseEvent instance.

Related topics

File

vendor/symfony/http-kernel/KernelEvents.php, line 34

Class

KernelEvents
Contains all events thrown in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel

Code

const REQUEST = 'kernel.request';