You are here

public function SurrogateInterface::hasSurrogateCapability in Zircon Profile 8

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

Checks that at least one surrogate has Surrogate capability.

Parameters

Request $request A Request instance:

Return value

bool true if one surrogate has Surrogate capability, false otherwise

2 methods override SurrogateInterface::hasSurrogateCapability()
Esi::hasSurrogateCapability in vendor/symfony/http-kernel/HttpCache/Esi.php
Checks that at least one surrogate has ESI/1.0 capability.
Ssi::hasSurrogateCapability in vendor/symfony/http-kernel/HttpCache/Ssi.php
Checks that at least one surrogate has Surrogate capability.

File

vendor/symfony/http-kernel/HttpCache/SurrogateInterface.php, line 40

Class

SurrogateInterface

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function hasSurrogateCapability(Request $request);