ItemInterface
interface ItemInterface implements CacheItemInterface
Augments PSR-6's CacheItemInterface with support for tags and metadata.
Constants
Methods
tag(string|string[] $tags)
Adds a tag to a cache item.
array
getMetadata()
Returns a list of metadata info that were saved alongside with the cached value.
Details
ItemInterface
tag(string|string[] $tags)
Adds a tag to a cache item.
Tags are strings that follow the same validation rules as keys.