Same name in other branches
- 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setHttpClient()
- 8.x-4.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setHttpClient()
Set http client.
Parameters
\GuzzleHttp\ClientInterface $httpClient: The renderer.
Return value
$this
File
-
src/
AdvaggSettersTrait.php, line 176
Class
- AdvaggSettersTrait
- The trait setters of ADVAGG module.
Namespace
Drupal\advaggCode
public function setHttpClient(ClientInterface $httpClient) {
$this->httpClient = $httpClient;
return $this;
}