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

Breadcrumb

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

function StoreInterface::write

Writes a cache entry to the store for the given Request and Response.

Existing entries are read and any that match the response are removed. This method calls write with the new list of cache entries.

Return value

string The key under which the response is stored

1 method overrides StoreInterface::write()
Store::write in vendor/symfony/http-kernel/HttpCache/Store.php
Writes a cache entry to the store for the given Request and Response.

File

vendor/symfony/http-kernel/HttpCache/StoreInterface.php, line 40

Class

StoreInterface
Interface implemented by HTTP cache stores.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function write(Request $request, Response $response) : string;

API Navigation

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