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

The CONTROLLER event occurs once a controller was found for handling a request.

This event allows you to change the controller that will handle the request. The event listener method receives a Symfony\Component\HttpKernel\Event\FilterControllerEvent instance.

Related topics

File

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

Class

KernelEvents
Contains all events thrown in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel

Code

const CONTROLLER = 'kernel.controller';