class TagAwareAdapter implements TagAwareAdapterInterface, PruneableInterface, ResettableInterface

Traits

Constants

TAGS_PREFIX

Methods

prune()

{@inheritdoc}

reset()

{@inheritdoc}

__construct(AdapterInterface $itemsPool, AdapterInterface $tagsPool = null, $knownTagVersionsTtl = 0.15)

No description

bool
invalidateTags(array $tags)

Invalidates cached items using tags.

hasItem($key)

{@inheritdoc}

getItem($key)

{@inheritdoc}

getItems(array $keys = array())

{@inheritdoc}

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

deleteItems(array $keys)

{@inheritdoc}

save(CacheItemInterface $item)

{@inheritdoc}

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

commit()

{@inheritdoc}

__destruct()

No description

Details

in ProxyTrait at line line 29
prune()

{@inheritdoc}

in ProxyTrait at line line 37
reset()

{@inheritdoc}

at line line 39
__construct(AdapterInterface $itemsPool, AdapterInterface $tagsPool = null, $knownTagVersionsTtl = 0.15)

Parameters

AdapterInterface $itemsPool
AdapterInterface $tagsPool
$knownTagVersionsTtl

at line line 109
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

at line line 152
hasItem($key)

{@inheritdoc}

Parameters

$key

at line line 176
CacheItem getItem($key)

{@inheritdoc}

Parameters

$key

Return Value

CacheItem

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

{@inheritdoc}

Parameters

array $keys

Return Value

Traversable|CacheItem[]

at line line 214
clear()

{@inheritdoc}

at line line 224
deleteItem($key)

{@inheritdoc}

Parameters

$key

at line line 232
deleteItems(array $keys)

{@inheritdoc}

Parameters

array $keys

at line line 246
save(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

at line line 259
saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

at line line 272
commit()

{@inheritdoc}

at line line 277
__destruct()