You are here

public function BrowscapImporter::__construct in Browscap 8.3

Client constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config: Config Factory Interface.

\Drupal\Core\Cache\CacheBackendInterface $cache: Cache backend instance to use.

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.

File

src/BrowscapImporter.php, line 49

Class

BrowscapImporter
Class BrowscapImporter.

Namespace

Drupal\browscap

Code

public function __construct(ConfigFactoryInterface $config, CacheBackendInterface $cache, TranslationInterface $string_translation) {
  $this->config = $config;
  $this->cache = $cache;
  $this->stringTranslation = $string_translation;
}