You are here

protected function HttpCache::processResponseBody in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/HttpCache/HttpCache.php \Symfony\Component\HttpKernel\HttpCache\HttpCache::processResponseBody()
1 call to HttpCache::processResponseBody()
HttpCache::forward in vendor/symfony/http-kernel/HttpCache/HttpCache.php
Forwards the Request to the backend and returns the Response.

File

vendor/symfony/http-kernel/HttpCache/HttpCache.php, line 660

Class

HttpCache
Cache provides HTTP caching.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

protected function processResponseBody(Request $request, Response $response) {
  if (null !== $this->surrogate && $this->surrogate
    ->needsParsing($response)) {
    $this->surrogate
      ->process($request, $response);
  }
}