/** * Get classes cache injected * * @param \TYPO3\CMS\Core\Cache\Frontend\StringFrontend $classesCache * @return void */ public function injectClassesCache(Cache\Frontend\StringFrontend $classesCache) { $earlyClassesCache = $this->classesCache; $this->classesCache = $classesCache; $this->isEarlyCache = FALSE; $this->classAliasMap->injectClassesCache($classesCache); foreach ($earlyClassesCache->getByTag('early') as $originalClassLoadingInformation) { $classLoadingInformation = explode("ΓΏ", $originalClassLoadingInformation); $cacheEntryIdentifier = strtolower(str_replace('\\', '_', $classLoadingInformation[1])); if (!$this->classesCache->has($cacheEntryIdentifier)) { $this->classesCache->set($cacheEntryIdentifier, $originalClassLoadingInformation); } } }