class TraceableCache implements CacheInterface, PruneableInterface, ResettableInterface

deprecated since Symfony 4.3, use TraceableAdapter and type-hint for CacheInterface instead.

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 31
__construct(CacheInterface $pool)

Parameters

CacheInterface $pool

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

{@inheritdoc}

Parameters

$key
$default

at line 62
has($key)

{@inheritdoc}

Parameters

$key

at line 75
delete($key)

{@inheritdoc}

Parameters

$key

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

{@inheritdoc}

Parameters

$key
$value
$ttl

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

{@inheritdoc}

Parameters

$values
$ttl

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

{@inheritdoc}

Parameters

$keys
$default

at line 156
clear()

{@inheritdoc}

at line 169
deleteMultiple($keys)

{@inheritdoc}

Parameters

$keys

at line 187
bool prune()

Return Value

bool

at line 203
reset()

at line 216
getCalls()