CacheFlushEvent

New in version 11.4

The PSR-14 event \TYPO3\CMS\Core\Cache\Event\CacheFlushEvent is fired when caches are to be cleared.

Example

API

class CacheFlushEvent
Fully qualified name
\TYPO3\CMS\Core\Cache\Event\CacheFlushEvent

Event fired when caches are to be cleared

getGroups ( )
Returns
array
hasGroup ( string $group)
param $group

the group

Returns
bool
getErrors ( )
Returns
array
addError ( string $error)
param $error

the error