You are here

constant KernelEvents::VIEW in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/KernelEvents.php \Symfony\Component\HttpKernel\KernelEvents::VIEW

The VIEW event occurs when the return value of a controller is not a Response instance.

This event allows you to create a response for the return value of the controller. The event listener method receives a Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent instance.

Related topics

File

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

Class

KernelEvents
Contains all events thrown in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel

Code

const VIEW = 'kernel.view';