You are here

public function ClientService::__construct in Sparkpost email 8

Same name and namespace in other branches
  1. 8.2 src/ClientService.php \Drupal\sparkpost\ClientService::__construct()

Constructor.

File

src/ClientService.php, line 34

Class

ClientService
Class ClientService.

Namespace

Drupal\sparkpost

Code

public function __construct(Client $client, ConfigFactory $configFactory) {
  $this->client = $client;
  $this->configFactory = $configFactory;
}