ChainCache
class ChainCache implements CacheInterface, PruneableInterface, ResettableInterface
Chains several caches together.
Cached items are fetched from the first cache having them in its data store. They are saved and deleted in all caches at once.
Methods
__construct(array $caches, int $defaultLifetime = 0)
No description
get($key, $default = null)
{@inheritdoc}
getMultiple($keys, $default = null)
{@inheritdoc}
has($key)
{@inheritdoc}
clear()
{@inheritdoc}
delete($key)
{@inheritdoc}
deleteMultiple($keys)
{@inheritdoc}
set($key, $value, $ttl = null)
{@inheritdoc}
setMultiple($values, $ttl = null)
{@inheritdoc}
bool
prune()
No description
reset()
No description