public function HttpCache::terminate in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/HttpCache/HttpCache.php \Symfony\Component\HttpKernel\HttpCache\HttpCache::terminate()
Terminates a request/response cycle.
Should be called after sending the response and before shutting down the kernel.
Parameters
Request $request A Request instance:
Response $response A Response instance:
Overrides TerminableInterface::terminate
File
- vendor/
symfony/ http-kernel/ HttpCache/ HttpCache.php, line 239
Class
- HttpCache
- Cache provides HTTP caching.
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
public function terminate(Request $request, Response $response) {
if ($this
->getKernel() instanceof TerminableInterface) {
$this
->getKernel()
->terminate($request, $response);
}
}