Response|null lookup(Request $request) Locates a cached Response for the Request provided. Parameters Request $request A Request instance Return Value Response|null A Response instance, or null if no cache entry was found
bool|string lock(Request $request) Tries to lock the cache for a given Request, without blocking. Parameters Request $request A Request instance Return Value bool|string true if the lock is acquired, the path to the current lock otherwise
bool isLocked(Request $request) Returns whether or not a lock exists. Parameters Request $request A Request instance Return Value bool true if lock exists, false otherwise
invalidate(Request $request) Invalidates all cache entries that match the request. Parameters Request $request A Request instance Exceptions RuntimeException
getPath($key) Parameters $key
cleanup() Cleanups storage.
class Store implements StoreInterface Store implements all the logic for storing cache metadata (Request and Response headers). Methods __construct(string $root) Constructor. cleanup() Cleanups storage. bool|string lock(Request $request) Tries to lock the cache for a given Request, without blocking. bool unlock(Request $request) Releases the lock for the given Request. bool isLocked(Request $request) Returns whether or not a lock exists. Response|null lookup(Requ
class Storage Storage is the base class for all storage classes. Methods __construct(string $template) Constructor. string __toString() Returns the object string representation. string getContent() Returns the content of the template. Details __construct(string $template) Constructor. Parameters string $template The template name string __toString() Returns the object string representation.
parse(Twig_Token $token) Parameters Twig_Token $token
getTag()
Page 98 of 787