public function BrowscapService::__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.
File
- src/
BrowscapService.php, line 39
Class
- BrowscapService
- Class BrowscapService.
Namespace
Drupal\browscapCode
public function __construct(ConfigFactoryInterface $config, CacheBackendInterface $cache) {
$this->config = $config;
$this->cache = $cache;
}