abstract class CacheEvent (View source)

Properties

string $key

The key of the event.

array $tags

The tags that were assigned to the key.

Methods

void
__construct(string $key, array $tags = [])

Create a new event instance.

$this
setTags(array $tags)

Set the tags for the cache event.

Details

void __construct(string $key, array $tags = [])

Create a new event instance.

Parameters

string $key
array $tags

Return Value

void

$this setTags(array $tags)

Set the tags for the cache event.

Parameters

array $tags

Return Value

$this