CacheAdaptor
class CacheAdaptor implements FluidCacheInterface (View source)
Properties
protected PhpFrontend | $flowCache |
Methods
Gets an entry from the cache or NULL if the entry does not exist.
Set or updates an entry identified by $name into the cache.
Flushes the cache either by entry or flushes the entire cache if no entry is provided.
Get an instance of FluidCacheWarmerInterface which can warm up template files that would normally be cached on-the-fly to this FluidCacheInterface implementaion.
Details
string
get(string $name)
Gets an entry from the cache or NULL if the entry does not exist.
set(string $name, string $value)
Set or updates an entry identified by $name into the cache.
bool|void
flush(string|null $name = null)
Flushes the cache either by entry or flushes the entire cache if no entry is provided.
FluidCacheWarmerInterface
getCacheWarmer()
Get an instance of FluidCacheWarmerInterface which can warm up template files that would normally be cached on-the-fly to this FluidCacheInterface implementaion.