class CacheHit extends CacheEvent

Properties

string $key

The key of the event.

from  CacheEvent
array $tags

The tags that were assigned to the key.

from  CacheEvent
mixed $value

The value that was retrieved.

Methods

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

Create a new event instance.

$this
setTags(array $tags)

Set the tags for the cache event.

Details

at line 22
void __construct(string $key, mixed $value, array $tags = [])

Create a new event instance.

Parameters

string $key
mixed $value
array $tags

Return Value

void

in CacheEvent at line 40
$this setTags(array $tags)

Set the tags for the cache event.

Parameters

array $tags

Return Value

$this