interface TagAwareAdapterInterface implementsAdapterInterface

Interface for invalidating cached items using tags.

Methods

CacheItem
getItem(mixed$key)

No description

iterable
getItems(array$keys =[])

No description

bool
clear(string$prefix ='')

No description

bool
invalidateTags(array$tags)

Invalidates cached items using tags.

Details

CacheItem getItem(mixed$key)

Parameters

mixed $key

Return Value

CacheItem

iterable getItems(array$keys =[])

Parameters

array $keys

Return Value

iterable CacheItem>

bool clear(string$prefix ='')

Parameters

string $prefix

Return Value

bool

bool invalidateTags(array$tags)

Invalidates cached items using tags.

Parameters

array $tags An array of tags to invalidate

Return Value

bool

Exceptions

InvalidArgumentException When $tags is not valid