protected function InstagramApiTrait::httpClient in Instagram Feeds 8
Returns the Guzzle HTTP Client.
Return value
File
- src/
InstagramApiTrait.php, line 86
Class
- InstagramApiTrait
- Instagram API Trait.
Namespace
Drupal\instagram_feedsCode
protected function httpClient() : Client {
if (!isset($this->httpClient)) {
$this->httpClient = \Drupal::httpClient();
}
return $this->httpClient;
}