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); }
public function __construct($localeDir, Language $language, CacheProvider $cacheProvider) { $this->localeDir = $localeDir; $this->language = $language; $this->cache = $cacheProvider->create('movi.translations'); }
public function __construct(Manager $manager, CacheProvider $cacheProvider) { $this->manager = $manager; $this->cache = $cacheProvider->create('movi.packages.installer'); }
public function __construct($resourcesDir, CacheProvider $cacheProvider) { $this->resourcesDir = $resourcesDir; $this->cache = $cacheProvider->create('movi.assets'); }