class TagAwareAdapter implements TagAwareAdapterInterface, PruneableInterface, ResettableInterface

Traits

Constants

TAGS_PREFIX

Methods

prune()

{@inheritdoc}

reset()

{@inheritdoc}

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

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 27
prune()

{@inheritdoc}

in ProxyTrait at line line 35
reset()

{@inheritdoc}

at line line 37
__construct(AdapterInterface $itemsPool, AdapterInterface $tagsPool = null)

Parameters

AdapterInterface $itemsPool
AdapterInterface $tagsPool

at line line 107
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 122
hasItem($key)

{@inheritdoc}

Parameters

$key

at line line 146
CacheItem getItem($key)

{@inheritdoc}

Parameters

$key

Return Value

CacheItem

at line line 156
getItems(array $keys = array())

{@inheritdoc}

return \Traversable|CacheItem[]

Parameters

array $keys

at line line 184
clear()

{@inheritdoc}

at line line 194
deleteItem($key)

{@inheritdoc}

Parameters

$key

at line line 202
deleteItems(array $keys)

{@inheritdoc}

Parameters

array $keys

at line line 216
save(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

at line line 229
saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

at line line 242
commit()

{@inheritdoc}

at line line 269
__destruct()