class Illuminate / Cache / Events / CacheEvent
You are viewing an older version of the documentation. For the latest, please visit master documentation.
abstract

CacheEvent

Properties

public

$key string

The key of the event.

Default: null
public

$tags array

The tags that were assigned to the key.

Default: null

Methods

public

__construct ( $key , array $tags ) : void

Create a new event instance.

Parameters

  • $key string
  • $tags array
public

setTags ( $tags ) : $this

Set the tags for the cache event.

Parameters

  • $tags array