You are here

public function GetResponseForControllerResultEvent::setControllerResult 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::setControllerResult()

Assigns the return value of the controller.

Parameters

mixed $controllerResult The controller return value:

File

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

Class

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

Namespace

Symfony\Component\HttpKernel\Event

Code

public function setControllerResult($controllerResult) {
  $this->controllerResult = $controllerResult;
}