TagSet::getNamespace()

string getNamespace() Get a unique namespace that changes when any of the tags are flushed. Return Value string

TagSet::getNames()

array getNames() Get all of the tag names in the set. Return Value array

TagSet

TagSet class TagSet (View source) Methods void __construct(Store $store, array $names = array()) Create a new TagSet instance. void reset() Reset all tags in the set. string tagId(string $name) Get the unique tag identifier for a given tag. string getNamespace() Get a unique namespace that changes when any of the tags are flushed. string resetTag(string $name) Reset the tag and return the new tag identifier. string tagKey(string $name) Get the tag identifier key f

TaggedCache::__construct()

void __construct(Store $store, TagSet $tags) Create a new tagged cache instance. Parameters Store $store TagSet $tags Return Value void

TaggedCache::__clone()

void __clone() Clone cache repository instance. Return Value void

TaggedCache::__callStatic()

static mixed __callStatic(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

TaggedCache::__call()

mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

TaggedCache::tags()

TaggedCache tags(array|mixed $names) Begin executing a new tags operation if the store supports it. Parameters array|mixed $names Return Value TaggedCache Exceptions BadMethodCallException

TaggedCache::taggedItemKey()

string taggedItemKey(string $key) Get a fully qualified key for a tagged item. Parameters string $key Return Value string

TaggedCache::setEventDispatcher()

void setEventDispatcher(Dispatcher $events) Set the event dispatcher instance. Parameters Dispatcher $events Return Value void