class
Illuminate
/
Cache
/
RedisTaggedCache
RedisTaggedCache
Extends
Methods
public
add ( $key , $value , $ttl ) : bool
Store an item in the cache if the key does not exist.
Parameters
- $key string
- $value mixed
- $ttl DateTimeInterface |DateInterval |int|null
public
put ( $key , $value , $ttl ) : bool
Store an item in the cache.
Parameters
- $key string
- $value mixed
- $ttl DateTimeInterface |DateInterval |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
forever ( $key , $value ) : bool
Store an item in the cache indefinitely.
Parameters
- $key string
- $value mixed
public
flush ( ) : bool
Remove all items from the cache.
protected
flushValues ( ) : void
Flush the individual cache entries for the tags.
public
flushStale ( ) : bool
Remove all stale reference entries from the tag set.