You are here

public function AcquiaContentHubSiteCommands::__construct in Acquia Content Hub 8.2

AcquiaContentHubSiteCommands constructor.

Parameters

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

\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher: Symfony event dispatcher.

\Drupal\acquia_contenthub\ContentHubConnectionManager $achConnectionManager: ACH connection manager.

File

src/Commands/AcquiaContentHubSiteCommands.php, line 54

Class

AcquiaContentHubSiteCommands
Drush commands for interacting with Acquia Content Hub client site.

Namespace

Drupal\acquia_contenthub\Commands

Code

public function __construct(ClientFactory $client_factory, EventDispatcherInterface $eventDispatcher, ContentHubConnectionManager $achConnectionManager) {
  $this->clientFactory = $client_factory;
  $this->eventDispatcher = $eventDispatcher;
  $this->achConnectionManager = $achConnectionManager;
}