class
Illuminate
/
Cache
/
Events
/
CacheEvent
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