You are here

public function FilterResponseEvent::setResponse in Zircon Profile 8.0

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

Sets a new response object.

Parameters

Response $response:

1 call to FilterResponseEvent::setResponse()
FilterResponseEvent::__construct in vendor/symfony/http-kernel/Event/FilterResponseEvent.php

File

vendor/symfony/http-kernel/Event/FilterResponseEvent.php, line 58

Class

FilterResponseEvent
Allows to filter a Response object.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function setResponse(Response $response) {
  $this->response = $response;
}