Sets a new response object
@api
Parameters
Symfony\Component\HttpFoundation\Response $response:
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Event/FilterResponseEvent.php, line 63
Class
- FilterResponseEvent
- Allows to filter a Response object
Namespace
Symfony\Component\HttpKernel\Event
Code
public function setResponse(Response $response) {
$this->response = $response;
}