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

Breadcrumb

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

function AbstractSurrogate::createCacheStrategy

Returns a new cache strategy instance.

Overrides SurrogateInterface::createCacheStrategy

File

vendor/symfony/http-kernel/HttpCache/AbstractSurrogate.php, line 38

Class

AbstractSurrogate
Abstract class implementing Surrogate capabilities to Request and Response instances.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function createCacheStrategy() : ResponseCacheStrategyInterface {
    return new ResponseCacheStrategy();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal