public function CdnWarmer::setHttpClient in Warmer 8
Same name and namespace in other branches
- 2.x modules/warmer_cdn/src/Plugin/warmer/CdnWarmer.php \Drupal\warmer_cdn\Plugin\warmer\CdnWarmer::setHttpClient()
Set the HTTP client.
Parameters
\GuzzleHttp\ClientInterface $client: The client.
File
- modules/
warmer_cdn/ src/ Plugin/ warmer/ CdnWarmer.php, line 164
Class
- CdnWarmer
- The cache warmer for the built-in entity cache.
Namespace
Drupal\warmer_cdn\Plugin\warmerCode
public function setHttpClient(ClientInterface $client) {
$this->httpClient = $client;
}