class TraceableCache implements CacheInterface, PruneableInterface, ResettableInterface

An adapter that collects data about all cache calls.

Methods

__construct(CacheInterface $pool)

No description

get($key, $default = null)

{@inheritdoc}

has($key)

{@inheritdoc}

delete($key)

{@inheritdoc}

set($key, $value, $ttl = null)

{@inheritdoc}

setMultiple($values, $ttl = null)

{@inheritdoc}

getMultiple($keys, $default = null)

{@inheritdoc}

clear()

{@inheritdoc}

deleteMultiple($keys)

{@inheritdoc}

bool
prune()

No description

reset()

No description

getCalls()

No description

Details

at line line 29
__construct(CacheInterface $pool)

Parameters

CacheInterface $pool

at line line 38
get($key, $default = null)

{@inheritdoc}

Parameters

$key
$default

at line line 60
has($key)

{@inheritdoc}

Parameters

$key

at line line 73
delete($key)

{@inheritdoc}

Parameters

$key

at line line 86
set($key, $value, $ttl = null)

{@inheritdoc}

Parameters

$key
$value
$ttl

at line line 99
setMultiple($values, $ttl = null)

{@inheritdoc}

Parameters

$values
$ttl

at line line 126
getMultiple($keys, $default = null)

{@inheritdoc}

Parameters

$keys
$default

at line line 154
clear()

{@inheritdoc}

at line line 167
deleteMultiple($keys)

{@inheritdoc}

Parameters

$keys

at line line 185
bool prune()

Return Value

bool

at line line 201
reset()

at line line 214
getCalls()