You are here

private function Translator::getConfigCacheFactory in Plug 7

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

Return value

ConfigCacheFactoryInterface $configCacheFactory

File

lib/Symfony/translation/Translator.php, line 495

Class

Translator
Translator.

Namespace

Symfony\Component\Translation

Code

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