public function ResponseEvent::setResponse in Build Hooks 8.2
Same name and namespace in other branches
- 3.x 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;
}