#111538Correct the class comment of AfterCacheFlushedEvent
Description
The class comment of
\TYPO3\CMS\Core\Cache\Event\AfterCacheFlushedEvent says: “The
“cache:flush” command only dispatches CacheFlushEvent.”
Since all cache flushes go through CacheFlusher (#111263), the
command “cache:flush” dispatches AfterCacheFlushedEvent as well, and
so do “cache:flushtags” and “Flush cache” in the install tool. Only
“cache:flush —group=di” dispatches no event, because it returns
before CacheFlusher runs.
Correct the comment. TYPO3 Explained hides the class comment of the
event until this is fixed and api.typo3.org is updated:
https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-CoreApi/pull/7566
Reviews 1
History 01
-
Gerrit Code Review pushed patch set 1 for main to change 97887 status
NewUnder Review 11/23/26, 09:13