public function __construct(Google_Service_Analytics $analytics, CacheItemPoolInterface $cache, ModulesSettings $settings) { $this->analytics = $analytics; $this->cache = $cache; $this->settings = $settings; }