class
Illuminate
/
Cache
/
TaggedCache
TaggedCache
Extends
Uses
Properties
Methods
public
__construct ( Store $store , TagSet $tags ) : void
Create a new tagged cache instance.
Parameters
public
putMany ( array $values , $ttl ) : bool
Store multiple items in the cache for a given number of seconds.
Parameters
- $values array
- $ttl int|null
public
increment ( $key , $value ) : int|bool
Increment the value of an item in the cache.
Parameters
- $key string
- $value mixed
public
decrement ( $key , $value ) : int|bool
Decrement the value of an item in the cache.
Parameters
- $key string
- $value mixed
public
flush ( ) : bool
Remove all items from the cache.
protected
itemKey ( $key ) : void
{@inheritdoc}
public
taggedItemKey ( $key ) : string
Get a fully qualified key for a tagged item.
Parameters
- $key string
protected
event ( $event ) : void
Fire an event for this cache instance.
Parameters
- $event CacheEvent