Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ResponseCacheStrategyInterface.php

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\HttpCache
View 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
RSS feed
Powered by Drupal