class
Illuminate
/
Cache
/
TagSet
You are viewing an older version of the documentation. For the latest, please visit master documentation.
TagSet
Properties
protected
$names array
The tag names.
Default: []
Methods
public
__construct ( Store $store , array $names ) : void
Create a new TagSet instance.
Parameters
- $store Store
- $names array
public
reset ( ) : void
Reset all tags in the set.
public
resetTag ( $name ) : string
Reset the tag and return the new tag identifier.
Parameters
- $name string
public
flush ( ) : void
Flush all the tags in the set.
public
flushTag ( $name ) : void
Flush the tag from the cache.
Parameters
- $name string
public
getNamespace ( ) : string
Get a unique namespace that changes when any of the tags are flushed.
protected
tagIds ( ) : array
Get an array of tag identifiers for all of the tags in the set.
public
tagId ( $name ) : string
Get the unique tag identifier for a given tag.
Parameters
- $name string
public
tagKey ( $name ) : string
Get the tag identifier key for a given tag.
Parameters
- $name string
public
getNames ( ) : array
Get all of the tag names in the set.