class TraceableAdapter implements AdapterInterface, PruneableInterface, ResettableInterface

An adapter that collects data about all cache calls.

Properties

protected $pool

Methods

__construct(AdapterInterface $pool)

No description

getItem($key)

{@inheritdoc}

hasItem($key)

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

save(CacheItemInterface $item)

{@inheritdoc}

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

getItems(array $keys = [])

{@inheritdoc}

clear()

{@inheritdoc}

deleteItems(array $keys)

{@inheritdoc}

commit()

{@inheritdoc}

bool
prune()

No description

reset()

No description

getCalls()

No description

clearCalls()

No description

start($name)

No description

Details

at line 30
__construct(AdapterInterface $pool)

Parameters

AdapterInterface $pool

at line 38
CacheItem getItem($key)

{@inheritdoc}

Parameters

$key

Return Value

CacheItem

at line 58
hasItem($key)

{@inheritdoc}

Parameters

$key

at line 71
deleteItem($key)

{@inheritdoc}

Parameters

$key

at line 84
save(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

at line 97
saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

at line 110
Traversable|CacheItem[] getItems(array $keys = [])

{@inheritdoc}

Parameters

array $keys

Return Value

Traversable|CacheItem[]

at line 136
clear()

{@inheritdoc}

at line 149
deleteItems(array $keys)

{@inheritdoc}

Parameters

array $keys

at line 163
commit()

{@inheritdoc}

at line 176
bool prune()

Return Value

bool

at line 192
reset()

at line 205
getCalls()

at line 210
clearCalls()

at line 215
protected start($name)

Parameters

$name