public function GetResponseEvent::setResponse in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Event/GetResponseEvent.php \Symfony\Component\HttpKernel\Event\GetResponseEvent::setResponse()
Sets a response and stops event propagation.
Parameters
Response $response:
File
- vendor/
symfony/ http-kernel/ Event/ GetResponseEvent.php, line 49
Class
- GetResponseEvent
- Allows to create a response for a request.
Namespace
Symfony\Component\HttpKernel\EventCode
public function setResponse(Response $response) {
$this->response = $response;
$this
->stopPropagation();
}