You are here

protected function InstagramApiTrait::setHttpClient in Instagram Feeds 8

Sets Guzzle HTTP client.

Parameters

\GuzzleHttp\Client $client: Guzzle HTTP client.

Return value

$this

File

src/InstagramApiTrait.php, line 127

Class

InstagramApiTrait
Instagram API Trait.

Namespace

Drupal\instagram_feeds

Code

protected function setHttpClient(Client $client) {
  $this->httpClient = $client;
  return $this;
}