You are here

public function CdnWarmer::setHttpClient in Warmer 2.x

Same name and namespace in other branches
  1. 8 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 184

Class

CdnWarmer
The cache warmer for the built-in entity cache.

Namespace

Drupal\warmer_cdn\Plugin\warmer

Code

public function setHttpClient(ClientInterface $client) {
  $this->httpClient = $client;
}