public function Esi::addSurrogateEsiCapability in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/HttpCache/Esi.php \Symfony\Component\HttpKernel\HttpCache\Esi::addSurrogateEsiCapability()
Adds ESI/1.0 capability to the given Request.
Parameters
Request $request A Request instance:
Deprecated
since version 2.6, to be removed in 3.0. Use addSurrogateCapability() instead
File
- vendor/
symfony/ http-kernel/ HttpCache/ Esi.php, line 115
Class
- Esi
- Esi implements the ESI capabilities to Request and Response instances.
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
public function addSurrogateEsiCapability(Request $request) {
@trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.6 and will be removed in 3.0. Use the addSurrogateCapability() method instead.', E_USER_DEPRECATED);
$this
->addSurrogateCapability($request);
}