BeforeCacheFlushEvent

final readonly class \TYPO3\CMS\Core\Cache\Event\BeforeCacheFlushEvent

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

$plan  : CacheFlushPlan

Methods

__construct()  : mixed

Properties

Methods

On this page