class WritingKey extends CacheEvent

Properties

string|null $storeName

The name of the cache store.

from  CacheEvent
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 will be written.

int|null $seconds

The number of seconds the key should be valid.

Methods

__construct(string|null $storeName, UnitEnum|string $key, mixed $value, int|null $seconds = null, array $tags = [])

Create a new event instance.

setTags(array $tags)

Set the tags for the cache event.

Details

at line 24
__construct(string|null $storeName, UnitEnum|string $key, mixed $value, int|null $seconds = null, array $tags = [])

Create a new event instance.

Parameters

string|null $storeName
UnitEnum|string $key
mixed $value
int|null $seconds
array $tags

in CacheEvent at line 41
CacheEvent setTags(array $tags)

Set the tags for the cache event.

Parameters

array $tags

Return Value

CacheEvent