public function FilterResponseEvent::setResponse

Sets a new response object

@api

Parameters

Symfony\Component\HttpFoundation\Response $response:

1 call to FilterResponseEvent::setResponse()
FilterResponseEvent::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Event/FilterResponseEvent.php

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;
}