SilverStripe\Versioned\Tests\Caching\ProxyCacheAdapterFake
Synopsis
class ProxyCacheAdapterFake
extends ProxyCacheAdapter
{
- // Inherited members from ProxyCacheAdapter
- protected CacheInterface $pool;
- // methods
- protected void getKeyID()
- // Inherited methods from ProxyCacheAdapter
- public void __construct()
- public array __sleep()
- public void get()
- public void has()
- public void delete()
- public void set()
- public void setMultiple()
- public void getMultiple()
- public void clear()
- public void deleteMultiple()
- public void prune()
- public void reset()
- protected abstract string getKeyID()
- protected array getKeyIDs()
- protected array iteratorToArray()
Hierarchy
Members
protected
- $pool — Psr\SimpleCache\CacheInterface
Methods
protected
Inherited from SilverStripe\Versioned\Caching\ProxyCacheAdapter
protected
- getKeyID() — Map user cache to internal cache
- getKeyIDs() — Get key ids
- iteratorToArray() — Ensure that a list is cast to an array
public
- __sleep() — Do not serialize() `$this->pool` because it may contain a non-serializable cache.
- clear() — {@inheritdoc}
- delete() — {@inheritdoc}
- deleteMultiple() — {@inheritdoc}
- get() — {@inheritdoc}
- getMultiple() — {@inheritdoc}
- has() — {@inheritdoc}
- prune() — {@inheritdoc}
- reset() — {@inheritdoc}
- set() — {@inheritdoc}
- setMultiple() — {@inheritdoc}