Store::lookup()

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

Store::lock()

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

Store::isLocked()

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

Store::invalidate()

invalidate(Request $request) Invalidates all cache entries that match the request. Parameters Request $request A Request instance Exceptions RuntimeException

Store::getPath()

getPath($key) Parameters $key

Store::cleanup()

cleanup() Cleanups storage.

Store

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

Storage

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.

StopwatchTokenParser::parse()

parse(Twig_Token $token) Parameters Twig_Token $token

StopwatchTokenParser::getTag()

getTag()