You are here

public function StoreInterface::write in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/HttpCache/StoreInterface.php \Symfony\Component\HttpKernel\HttpCache\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.

Parameters

Request $request A Request instance:

Response $response A Response instance:

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 47

Class

StoreInterface
Interface implemented by HTTP cache stores.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

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