public function __construct($name, Application $app, Repository $cache, LocaleManager $locales) { $this->name = $name; $this->app = $app; $this->cache = $cache; $this->locales = $locales; }