You are here

public function GetResponseForControllerResultEvent::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Event/GetResponseForControllerResultEvent.php \Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent::__construct()

Overrides KernelEvent::__construct

File

vendor/symfony/http-kernel/Event/GetResponseForControllerResultEvent.php, line 35

Class

GetResponseForControllerResultEvent
Allows to create a response for the return value of a controller.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function __construct(HttpKernelInterface $kernel, Request $request, $requestType, $controllerResult) {
  parent::__construct($kernel, $request, $requestType);
  $this->controllerResult = $controllerResult;
}