You are here

public function ClientService::__construct in Sparkpost email 8.2

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

Constructor.

File

src/ClientService.php, line 39

Class

ClientService
Client service that sends the mails.

Namespace

Drupal\sparkpost

Code

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