interface TagAwareAdapterInterface implements AdapterInterface

Interface for invalidating cached items using tags.

Methods

getItem($key)

{@inheritdoc}

getItems(array $keys = array())

{@inheritdoc}

bool
invalidateTags(array $tags)

Invalidates cached items using tags.

Details

in AdapterInterface at line 29
CacheItem getItem($key)

{@inheritdoc}

Parameters

$key

Return Value

CacheItem

in AdapterInterface at line 36
Traversable|CacheItem[] getItems(array $keys = array())

{@inheritdoc}

Parameters

array $keys

Return Value

Traversable|CacheItem[]

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