You are here

public function DrupalGatherContentClient::__construct in GatherContent 8.5

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

File

src/DrupalGatherContentClient.php, line 18

Class

DrupalGatherContentClient
Extends the GatherContentClient class with Drupal specific functionality.

Namespace

Drupal\gathercontent

Code

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