You are here

public function Esi::needsEsiParsing in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/HttpCache/Esi.php \Symfony\Component\HttpKernel\HttpCache\Esi::needsEsiParsing()

Checks that the Response needs to be parsed for ESI tags.

Parameters

Response $response A Response instance:

Return value

bool true if the Response needs to be parsed, false otherwise

Deprecated

since version 2.6, to be removed in 3.0. Use needsParsing() instead

File

vendor/symfony/http-kernel/HttpCache/Esi.php, line 161

Class

Esi
Esi implements the ESI capabilities to Request and Response instances.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function needsEsiParsing(Response $response) {
  @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.6 and will be removed in 3.0. Use the needsParsing() method instead.', E_USER_DEPRECATED);
  return $this
    ->needsParsing($response);
}