interface ResponseCacheStrategyInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategyInterface.php \Symfony\Component\HttpKernel\HttpCache\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.
*
* @param Response $response
*/
public function add(Response $response);
/**
* Updates the Response HTTP headers based on the embedded Responses.
*
* @param Response $response
*/
public function update(Response $response);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ResponseCacheStrategyInterface:: |
public | function | Adds a Response. | 1 |
ResponseCacheStrategyInterface:: |
public | function | Updates the Response HTTP headers based on the embedded Responses. | 1 |