class TraceableTagAwareAdapter extends TraceableAdapter implements TagAwareAdapterInterface

Properties

protected $pool from TraceableAdapter

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 = array())

{@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

bool
invalidateTags(array $tags)

Invalidates cached items using tags.

Details

at line 19
__construct(AdapterInterface $pool)

Parameters

AdapterInterface $pool

in TraceableAdapter at line 38
CacheItem getItem($key)

{@inheritdoc}

Parameters

$key

Return Value

CacheItem

in TraceableAdapter at line 58
hasItem($key)

{@inheritdoc}

Parameters

$key

in TraceableAdapter at line 71
deleteItem($key)

{@inheritdoc}

Parameters

$key

in TraceableAdapter at line 84
save(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

in TraceableAdapter at line 97
saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

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

{@inheritdoc}

Parameters

array $keys

Return Value

Traversable|CacheItem[]

in TraceableAdapter at line 136
clear()

{@inheritdoc}

in TraceableAdapter at line 149
deleteItems(array $keys)

{@inheritdoc}

Parameters

array $keys

in TraceableAdapter at line 163
commit()

{@inheritdoc}

in TraceableAdapter at line 176
bool prune()

Return Value

bool

in TraceableAdapter at line 192
reset()

in TraceableAdapter at line 205
getCalls()

in TraceableAdapter at line 210
clearCalls()

in TraceableAdapter at line 215
protected start($name)

Parameters

$name

at line 27
bool invalidateTags(array $tags)

Invalidates cached items using tags.

Parameters

array $tags An array of tags to invalidate

Return Value

bool True on success

Exceptions

InvalidArgumentException When $tags is not valid