You are here

public function SurrogateInterface::addSurrogateCapability in Zircon Profile 8.0

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

Adds Surrogate-capability to the given Request.

Parameters

Request $request A Request instance:

2 methods override SurrogateInterface::addSurrogateCapability()
Esi::addSurrogateCapability in vendor/symfony/http-kernel/HttpCache/Esi.php
Adds ESI/1.0 capability to the given Request.
Ssi::addSurrogateCapability in vendor/symfony/http-kernel/HttpCache/Ssi.php
Adds Surrogate-capability to the given Request.

File

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

Class

SurrogateInterface

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function addSurrogateCapability(Request $request);