public function SurrogateInterface::addSurrogateControl in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/HttpCache/SurrogateInterface.php \Symfony\Component\HttpKernel\HttpCache\SurrogateInterface::addSurrogateControl()
Adds HTTP headers to specify that the Response needs to be parsed for Surrogate.
This method only adds an Surrogate HTTP header if the Response has some Surrogate tags.
Parameters
Response $response A Response instance:
2 methods override SurrogateInterface::addSurrogateControl()
- Esi::addSurrogateControl in vendor/
symfony/ http-kernel/ HttpCache/ Esi.php - Adds HTTP headers to specify that the Response needs to be parsed for ESI.
- Ssi::addSurrogateControl in vendor/
symfony/ http-kernel/ HttpCache/ Ssi.php - Adds HTTP headers to specify that the Response needs to be parsed for Surrogate.
File
- vendor/
symfony/ http-kernel/ HttpCache/ SurrogateInterface.php, line 56
Class
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
public function addSurrogateControl(Response $response);