You are here

public function AcquiaContentHubPurgeCommands::__construct in Acquia Content Hub 8.2

AcquiaContentHubPurgeCommands constructor.

Parameters

\Drupal\acquia_contenthub\Client\ClientFactory $client_factory: The client factory.

\Drupal\Core\Extension\ModuleExtensionList $module_list: The module extension list.

File

src/Commands/AcquiaContentHubPurgeCommands.php, line 40

Class

AcquiaContentHubPurgeCommands
Drush commands for purging Acquia Content Hub.

Namespace

Drupal\acquia_contenthub\Commands

Code

public function __construct(ClientFactory $client_factory, ModuleExtensionList $module_list) {
  $this->clientFactory = $client_factory;
  $this->moduleList = $module_list;
}