class CacheFlushFailed

Methods

__construct(string|null $storeName, array $tags = [], Throwable|null $exception = null)

Create a new event instance.

setTags(array $tags)

Set the tags for the cache event.

Details

at line 16
__construct(string|null $storeName, array $tags = [], Throwable|null $exception = null)

Create a new event instance.

Parameters

string|null $storeName
array $tags
Throwable|null $exception

the exception raised while flushing the cache, if one was thrown

at line 26
CacheFlushFailed setTags(array $tags)

Set the tags for the cache event.

Parameters

array $tags

Return Value

CacheFlushFailed