HttpCache\ResponseCacheStrategyInterface (Component\HttpKernel)
Symfony\Component\HttpKernel\HttpCache\ResponseCacheStrategyInterface
interface ResponseCacheStrategyInterface
ResponseCacheStrategyInterface implementations know how to compute the Response cache HTTP header based on the different response cache headers.
Methods
add(Response $response) Adds a Response. | ||
update(Response $response) Updates the Response HTTP headers based on the embedded Responses. |
Details
public add(Response $response)
Adds a Response.
public update(Response $response)
Updates the Response HTTP headers based on the embedded Responses.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/HttpKernel/HttpCache/ResponseCacheStrategyInterface.html