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

RedisTagSet

Extends

Methods

public

addEntry ( string $key , int $ttl , $updateWhen ) : void

Add a reference entry to the tag set's underlying sorted set.

Parameters

  • $key string
  • $ttl int
  • $updateWhen string
public

entries ( ) : Illuminate\...\LazyCollection

Get all of the cache entry keys for the tag set.

public

flushStaleEntries ( ) : void

Remove the stale entries from the tag set.

public

flushTag ( $name ) : void

Flush the tag from the cache.

Parameters

  • $name string
public

resetTag ( $name ) : string

Reset the tag and return the new tag identifier.

Parameters

  • $name string
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