You are here

public function Esi::hasSurrogateEsiCapability 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::hasSurrogateEsiCapability()

Checks that at least one surrogate has ESI/1.0 capability.

Parameters

Request $request A Request instance:

Return value

bool true if one surrogate has ESI/1.0 capability, false otherwise

Deprecated

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

File

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

Class

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

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

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