You are here

public function PatchinfoDrupalorgService::__construct in PatchInfo 8.2

Constructs a new PatchinfoDrupalorgService instance.

Parameters

\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend.

\Drupal\Core\Http\ClientFactory $http_client_factory: The HTTP client factory.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

File

modules/patchinfo_drupalorg/src/PatchinfoDrupalorgService.php, line 49

Class

PatchinfoDrupalorgService
Class PatchinfoDrupalorgService contains commonly shared utilities.

Namespace

Drupal\patchinfo_drupalorg

Code

public function __construct(CacheBackendInterface $cache, ClientFactory $http_client_factory, TimeInterface $time) {
  $this->cache = $cache;
  $this->httpClientFactory = $http_client_factory;
  $this->time = $time;
}