BeforeCacheFlushEvent
final readonly class \
Dispatched once per cache flush with the complete plan of cache tags and cache groups, which listeners may change before anything is flushed.
The event is also dispatched by CacheFlusher::resolve(), which flushes nothing. Listeners must only change the plan, follow-up work belongs into a listener of AfterCacheFlushedEvent.
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$plan
public
CacheFlushPlan
$plan
Methods
__construct()
public
__construct(CacheFlushPlan $plan) : mixed
Parameters
- $plan : CacheFlushPlan