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\HttpCacheCode
public function write(Request $request, Response $response) : string;