class Illuminate / Cache / RedisTaggedCache
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

RedisTaggedCache

Extends

Methods

public

add ( $key , $value , $ttl ) : bool

Store an item in the cache if the key does not exist.

Parameters

public

put ( $key , $value , $ttl ) : bool

Store an item in the cache.

Parameters

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.