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

The RESPONSE event occurs once a response was created for replying to a request.

This event allows you to modify or replace the response that will be replied. The event listener method receives a Symfony\Component\HttpKernel\Event\FilterResponseEvent instance.

Related topics

File

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

Class

KernelEvents
Contains all events thrown in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel

Code

const RESPONSE = 'kernel.response';