You are here

private function Translator::getConfigCacheFactory in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Translator.php \Symfony\Component\Translation\Translator::getConfigCacheFactory()

Provides the ConfigCache factory implementation, falling back to a default implementation if necessary.

Return value

ConfigCacheFactoryInterface $configCacheFactory

File

vendor/symfony/translation/Translator.php, line 470

Class

Translator
Translator.

Namespace

Symfony\Component\Translation

Code

private function getConfigCacheFactory() {
  if (!$this->configCacheFactory) {
    $this->configCacheFactory = new ConfigCacheFactory($this->debug);
  }
  return $this->configCacheFactory;
}