DoctrineProvider
extends CacheProvider
in package
implements
PruneableInterface, ResettableInterface
Tags
Interfaces, Classes and Traits
- PruneableInterface
- Interface extends psr-6 and psr-16 caches to allow for pruning (deletion) of all expired cache items.
- ResettableInterface
- Resets a pool's local state.
Table of Contents
- $pool : mixed
- __construct() : mixed
- prune() : bool
- reset() : mixed
- {@inheritdoc}
- doContains() : bool
- {@inheritdoc}
- doDelete() : bool
- {@inheritdoc}
- doFetch() : mixed
- {@inheritdoc}
- doFlush() : bool
- {@inheritdoc}
- doGetStats() : array<string|int, mixed>|null
- {@inheritdoc}
- doSave() : bool
- {@inheritdoc}
Properties
$pool
private
mixed
$pool
Methods
__construct()
public
__construct(CacheItemPoolInterface $pool) : mixed
Parameters
- $pool : CacheItemPoolInterface
Return values
mixed —prune()
public
prune() : bool
Return values
bool —reset()
{@inheritdoc}
public
reset() : mixed
Return values
mixed —doContains()
{@inheritdoc}
protected
doContains(mixed $id) : bool
Parameters
- $id : mixed
Return values
bool —doDelete()
{@inheritdoc}
protected
doDelete(mixed $id) : bool
Parameters
- $id : mixed
Return values
bool —doFetch()
{@inheritdoc}
protected
doFetch(mixed $id) : mixed
Parameters
- $id : mixed
Return values
mixed —doFlush()
{@inheritdoc}
protected
doFlush() : bool
Return values
bool —doGetStats()
{@inheritdoc}
protected
doGetStats() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null —doSave()
{@inheritdoc}
protected
doSave(mixed $id, mixed $data, mixed $lifeTime) : bool
Parameters
- $id : mixed
- $data : mixed
- $lifeTime : mixed