class Illuminate / Cache / Events / CacheEvent
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
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