You are here

public function DrupalGatherContentClient::__construct in GatherContent 8.4

Same name and namespace in other branches
  1. 8.5 src/DrupalGatherContentClient.php \Drupal\gathercontent\DrupalGatherContentClient::__construct()

File

src/DrupalGatherContentClient.php, line 17

Class

DrupalGatherContentClient
Extends the GatherContentClient class with Drupal specific functionality.

Namespace

Drupal\gathercontent

Code

public function __construct(ClientInterface $client) {
  parent::__construct($client);
  $this
    ->setCredentials();
}