protected function HttpClient::getClient in HTTP Client Manager 8
Same name and namespace in other branches
- 8.2 src/HttpClient.php \Drupal\http_client_manager\HttpClient::getClient()
Get Client.
Return value
\Guzzle\Service\Client The Configured Guzzle client instance.
File
- src/
HttpClient.php, line 77
Class
Namespace
Drupal\http_client_managerCode
protected function getClient() {
if (empty($this->client)) {
$this
->setupGuzzleClient();
}
return $this->client;
}