![]() |
TYPO3
7.6
|
Public Member Functions | |
injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManager $objectManager) | |
clearAll () | |
Protected Attributes | |
$objectManager = null | |
Basic service to clear caches within the install tool. This is NOT an API class, it is for internal use in the install tool only.
Definition at line 23 of file ClearCacheService.php.
clearAll | ( | ) |
This clear cache implementation follows a pretty brutal approach. Goal is to reliably get rid of cache entries, even if some broken extension is loaded that would kill the backend 'clear cache' action.
Therefor this method "knows" implementation details of the cache framework and uses them to clear all file based cache (typo3temp/Cache) and database caches (tables prefixed with cf_) manually.
After that ext_tables and ext_localconf of extensions are loaded, those may register additional caches in the caching framework with different backend, and will then clear them with the usual flush() method.
Definition at line 53 of file ClearCacheService.php.
References TYPO3\CMS\Core\Build\$bootstrap, $GLOBALS, elseif, and GeneralUtility\flushDirectory().
injectObjectManager | ( | \TYPO3\CMS\Extbase\Object\ObjectManager | $objectManager | ) |
\TYPO3\CMS\Extbase\Object\ObjectManager | $objectManager |
Definition at line 33 of file ClearCacheService.php.
References ClearCacheService\$objectManager.
|
protected |
Definition at line 28 of file ClearCacheService.php.
Referenced by ClearCacheService\injectObjectManager().