Documentation

DoctrineProvider extends CacheProvider
in package
implements PruneableInterface, ResettableInterface

Tags
author

Nicolas Grekas p@tchwork.com

deprecated

Use Doctrine\Common\Cache\Psr6\DoctrineProvider instead

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

Methods

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
Return values
bool

Search results