public function ResponseEvent::setResponse in Build Hooks 3.x
Same name and namespace in other branches
- 8.2 src/Event/ResponseEvent.php \Drupal\build_hooks\Event\ResponseEvent::setResponse()
Set the response.
Parameters
\Psr\Http\Message\ResponseInterface $response: Response.
File
- src/
Event/ ResponseEvent.php, line 39
Class
- ResponseEvent
- Class ResponseEvent. Event fired when a build event gets the response.
Namespace
Drupal\build_hooks\EventCode
public function setResponse(ResponseInterface $response) {
$this->response = $response;
}