Exemple #1
0
 public function __construct(Language $language, CacheProvider $cacheProvider)
 {
     $this->language = $language;
     $name = explode('\\', get_called_class());
     $name = end($name);
     $this->cache = $cacheProvider->create('movi.tree.' . $name);
 }
Exemple #2
0
 public function __construct($localeDir, Language $language, CacheProvider $cacheProvider)
 {
     $this->localeDir = $localeDir;
     $this->language = $language;
     $this->cache = $cacheProvider->create('movi.translations');
 }
Exemple #3
0
 public function __construct(Manager $manager, CacheProvider $cacheProvider)
 {
     $this->manager = $manager;
     $this->cache = $cacheProvider->create('movi.packages.installer');
 }
Exemple #4
0
 public function __construct($resourcesDir, CacheProvider $cacheProvider)
 {
     $this->resourcesDir = $resourcesDir;
     $this->cache = $cacheProvider->create('movi.assets');
 }