Adds a Response.
Response $response:
Overrides EsiResponseCacheStrategyInterface::add
public function add(Response $response) {
if ($response
->isValidateable()) {
$this->cacheable = false;
}
else {
$this->ttls[] = $response
->getTtl();
$this->maxAges[] = $response
->getMaxAge();
}
}