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¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API¶
- class TYPO3\CMS\Core\Cache\Event\CacheFlushEvent¶
Event fired when caches are to be cleared
- getGroups()¶
- Return type
array
- hasGroup(string $group)¶
- Parameters
$group (
string
) -- the group
- Return type
bool
- getErrors()¶
- Return type
array
- addError(string $error)¶
- Parameters
$error (
string
) -- the error