VersionedCacheAdapter
class VersionedCacheAdapter extends ProxyCacheAdapter (View source)
Methods
__construct(CacheInterface $pool)
Create container cache controlling an inner pool cache
from
ProxyCacheAdapter
array
__sleep()
Do not serialize() $this->pool
because it may contain a non-serializable cache.
from
ProxyCacheAdapter
Details
__construct(CacheInterface $pool)
Create container cache controlling an inner pool cache
array
__sleep()
Do not serialize() $this->pool
because it may contain a non-serializable cache.
For instance, Symfony\Component\Cache\Simple\FilesystemCache cannot be serialized because in will throw an exception in Symfony\Component\Cache\Traits\FilesystemCommonTrait::__sleep()
get($key, $default = null)
{@inheritdoc}
has($key)
{@inheritdoc}
delete($key)
{@inheritdoc}
set($key, $value, $ttl = null)
{@inheritdoc}
setMultiple($items, $ttl = null)
{@inheritdoc}
getMultiple($keys, $default = null)
{@inheritdoc}
clear()
{@inheritdoc}
deleteMultiple($keys)
{@inheritdoc}
prune()
{@inheritdoc}
reset()
{@inheritdoc}