You are here

public function JavascriptLocalCache::__construct in Google Analytics 4.x

File

src/JavascriptLocalCache.php, line 45

Class

JavascriptLocalCache

Namespace

Drupal\google_analytics

Code

public function __construct(ClientInterface $http_client, FileSystemInterface $file_system, ConfigFactoryInterface $config_factory, LoggerChannelFactoryInterface $logger_factory, StateInterface $state) {
  $this->httpClient = $http_client;
  $this->fileSystem = $file_system;
  $this->configFactory = $config_factory;
  $this->state = $state;
  $this->logger = $logger_factory
    ->get('google_analytics');
}