Ejemplo n.º 1
0
 public function __construct(Cache $cache, Kernel $kernel, FileCollector $fileCollector, LocaleService $localeService, Twig_Environment $twig, $cacheKey)
 {
     $this->cache = $cache;
     $this->kernel = $kernel;
     $this->fileCollector = $fileCollector;
     $this->localeService = $localeService;
     $this->twig = $twig;
     $this->cacheKey = $cacheKey;
     $this->defaultLocale = $localeService->getDefaultLocale();
     $this->availableLocales = $localeService->getAvailableLocales();
 }