protected function JsonapiHelper::getFileHttpClient in Entity Share 8
Same name and namespace in other branches
- 8.2 modules/entity_share_client/src/Service/JsonapiHelper.php \Drupal\entity_share_client\Service\JsonapiHelper::getFileHttpClient()
Helper function to get the File Http Client.
Return value
\GuzzleHttp\Client A HTTP client to retrieve files.
File
- modules/
entity_share_client/ src/ Service/ JsonapiHelper.php, line 599
Class
- JsonapiHelper
- Class JsonapiHelper.
Namespace
Drupal\entity_share_client\ServiceCode
protected function getFileHttpClient() {
if (!$this->fileHttpClient) {
$this->fileHttpClient = $this->remoteManager
->prepareClient($this->remote);
}
return $this->fileHttpClient;
}