interface ResponseCacheStrategyInterface
ResponseCacheStrategyInterface implementations know how to compute the Response cache HTTP header based on the different response cache headers.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\HttpKernel\HttpCache\ResponseCacheStrategyInterface
Expanded class hierarchy of ResponseCacheStrategyInterface
All classes that implement ResponseCacheStrategyInterface
File
-
vendor/
symfony/ http-kernel/ HttpCache/ ResponseCacheStrategyInterface.php, line 26
Namespace
Symfony\Component\HttpKernel\HttpCacheView source
interface ResponseCacheStrategyInterface {
/**
* Adds a Response.
*/
public function add(Response $response) : void;
/**
* Updates the Response HTTP headers based on the embedded Responses.
*/
public function update(Response $response) : void;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ResponseCacheStrategyInterface::add | public | function | Adds a Response. | 1 |
ResponseCacheStrategyInterface::update | public | function | Updates the Response HTTP headers based on the embedded Responses. | 1 |