class TraceableCache implements CacheInterface

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}

getCalls()

No description

Details

at line line 27
__construct(CacheInterface $pool)

Parameters

CacheInterface $pool

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

{@inheritdoc}

Parameters

$key
$default

at line line 58
has($key)

{@inheritdoc}

Parameters

$key

at line line 71
delete($key)

{@inheritdoc}

Parameters

$key

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

{@inheritdoc}

Parameters

$key
$value
$ttl

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

{@inheritdoc}

Parameters

$values
$ttl

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

{@inheritdoc}

Parameters

$keys
$default

at line line 152
clear()

{@inheritdoc}

at line line 165
deleteMultiple($keys)

{@inheritdoc}

Parameters

$keys

at line line 180
getCalls()