public function EsiResponseCacheStrategyInterface::add

Adds a Response.

Parameters

Response $response:

1 method overrides EsiResponseCacheStrategyInterface::add()
EsiResponseCacheStrategy::add in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/EsiResponseCacheStrategy.php
Adds a Response.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/EsiResponseCacheStrategyInterface.php, line 33

Class

EsiResponseCacheStrategyInterface
EsiResponseCacheStrategyInterface implementations know how to compute the Response cache HTTP header based on the different ESI response cache headers.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function add(Response $response);