Symfony\Component\HttpKernel\HttpCache\StoreInterface
Interface implemented by HTTP cache stores.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
interface StoreInterface
{
- // methods
- public Response|null lookup()
- public string write()
- public void invalidate()
- public Boolean|string lock()
- public Boolean unlock()
- public Boolean isLocked()
- public Boolean purge()
- public void cleanup()
Methods
public
- cleanup() — Cleanups storage.
- invalidate() — Invalidates all cache entries that match the request.
- isLocked() — Returns whether or not a lock exists.
- lock() — Locks the cache for a given Request.
- lookup() — Locates a cached Response for the Request provided.
- purge() — Purges data for the given URL.
- unlock() — Releases the lock for the given Request.
- write() — Writes a cache entry to the store for the given Request and Response.