class WritingManyKeys extends CacheEvent (View source)

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 $keys

The keys that are being written.

mixed $values

The value that is being written.

int|null $seconds

The number of seconds the keys should be valid.

Methods

void
__construct(string|null $storeName, array $keys, array $values, int|null $seconds = null, array $tags = [])

Create a new event instance.

$this
setTags(array $tags)

Set the tags for the cache event.

Details

void __construct(string|null $storeName, array $keys, array $values, int|null $seconds = null, array $tags = [])

Create a new event instance.

Parameters

string|null $storeName
array $keys
array $values
int|null $seconds
array $tags

Return Value

void

$this setTags(array $tags)

Set the tags for the cache event.

Parameters

array $tags

Return Value

$this