You are here

final public function AcquiaCloudPurger::__construct in Acquia Purge 8

Constructs a AcquiaCloudPurger object.

Parameters

\Drupal\acquia_purge\AcquiaCloud\PlatformInfoInterface $acquia_purge_platforminfo: Information object interfacing with the Acquia platform.

\GuzzleHttp\ClientInterface $http_client: An HTTP client that can perform remote requests.

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PurgerBase::__construct

File

src/Plugin/Purge/Purger/AcquiaCloudPurger.php, line 82

Class

AcquiaCloudPurger
Acquia Cloud.

Namespace

Drupal\acquia_purge\Plugin\Purge\Purger

Code

public final function __construct(PlatformInfoInterface $acquia_purge_platforminfo, ClientInterface $http_client, array $configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->platformInfo = $acquia_purge_platforminfo;
  $this->httpClient = $http_client;
}