public function HttpCache::terminate

@api

Overrides TerminableInterface::terminate

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php, line 225

Class

HttpCache
Cache provides HTTP caching.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function terminate(Request $request, Response $response) {
  if ($this
    ->getKernel() instanceof TerminableInterface) {
    $this
      ->getKernel()
      ->terminate($request, $response);
  }
}