public function AcquiaContentHubWebhookCommands::__construct in Acquia Content Hub 8.2
AcquiaContentHubWebhookCommands constructor.
Parameters
\Drupal\acquia_contenthub\Client\ClientFactory $client_factory: ACH client factory.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher: Symfony event dispatcher.
File
- src/
Commands/ AcquiaContentHubWebhookCommands.php, line 43
Class
- AcquiaContentHubWebhookCommands
- Drush commands for interacting with Acquia Content Hub webhooks.
Namespace
Drupal\acquia_contenthub\CommandsCode
public function __construct(ClientFactory $client_factory, EventDispatcherInterface $dispatcher) {
$this->clientFactory = $client_factory;
$this->eventDispatcher = $dispatcher;
}