CacheFlushEvent¶
New in version 11.4
The PSR-14 event \TYPO3\
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 CacheFlushEvent ¶
-
- Fully qualified name
-
\TYPO3\
CMS\ Core\ Cache\ Event\ Cache Flush Event
Event fired when caches are to be cleared
- getGroups ( ) ¶
-
- returntype
-
array
- hasGroup ( string $group) ¶
-
- param string $group
-
the group
- returntype
-
bool
- getErrors ( ) ¶
-
- returntype
-
array
- addError ( string $error) ¶
-
- param string $error
-
the error