Inheritance: implements Neos\Cache\Backend\BackendInterface
 /**
  * Initializes the identifier prefix when setting the cache.
  *
  * @param FrontendInterface $cache
  * @return void
  */
 public function setCache(FrontendInterface $cache)
 {
     parent::setCache($cache);
     $pathHash = substr(md5($this->environmentConfiguration->getApplicationIdentifier() . $this->environmentConfiguration->getApplicationContext() . $cache->getIdentifier()), 0, 12);
     $this->identifierPrefix = 'Flow_' . $pathHash . '_';
 }
 /**
  * Sets a reference to the cache frontend which uses this backend and
  * initializes the default cache directory.
  *
  * @param \Neos\Cache\Frontend\FrontendInterface $cache The cache frontend
  * @return void
  * @throws Exception
  */
 public function setCache(FrontendInterface $cache)
 {
     parent::setCache($cache);
     $this->cacheEntryFileExtension = $cache instanceof PhpFrontend ? '.php' : '';
     $this->configureCacheDirectory();
 }
 /**
  * Constructs this backend
  *
  * @param EnvironmentConfiguration $environmentConfiguration
  * @param array $options Configuration options - depends on the actual backend
  */
 public function __construct(EnvironmentConfiguration $environmentConfiguration, array $options)
 {
     parent::__construct($environmentConfiguration, $options);
     if ($this->redis === null) {
         $this->redis = $this->getRedisClient();
     }
 }
 /**
  * Constructs this backend
  *
  * @param ApplicationContext $context Flow's application context
  * @param array $options Configuration options - depends on the actual backend
  * @param EnvironmentConfiguration $environmentConfiguration
  * @deprecated Use AbstractBackend instead
  * @api
  */
 public function __construct(ApplicationContext $context, array $options = [], EnvironmentConfiguration $environmentConfiguration = null)
 {
     parent::__construct($environmentConfiguration, $options);
     $this->context = $context;
 }
 /**
  * Does garbage collection
  *
  * @return void
  * @api
  */
 public function collectGarbage()
 {
     $this->backend->collectGarbage();
 }