/** * Constructs this cache factory * * @param \TYPO3\Flow\Core\ApplicationContext $context The current Flow context * @param \TYPO3\Flow\Cache\CacheManager $cacheManager * @param \TYPO3\Flow\Utility\Environment $environment */ public function __construct(\TYPO3\Flow\Core\ApplicationContext $context, \TYPO3\Flow\Cache\CacheManager $cacheManager, \TYPO3\Flow\Utility\Environment $environment) { $this->context = $context; $this->cacheManager = $cacheManager; $this->cacheManager->injectCacheFactory($this); $this->environment = $environment; }
/** * Constructs this cache factory * * @param ApplicationContext $context The current Flow context * @param CacheManager $cacheManager * @param Environment $environment */ public function __construct(ApplicationContext $context, CacheManager $cacheManager, Environment $environment) { $this->context = $context; $this->cacheManager = $cacheManager; $this->cacheManager->injectCacheFactory($this); $this->environment = $environment; }