You are here

public function ResponseCacheStrategyInterface::add in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategyInterface.php \Symfony\Component\HttpKernel\HttpCache\ResponseCacheStrategyInterface::add()

Adds a Response.

Parameters

Response $response:

1 method overrides ResponseCacheStrategyInterface::add()
ResponseCacheStrategy::add in vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php
Adds a Response.

File

vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategyInterface.php, line 33

Class

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

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function add(Response $response);