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