You are here

public function AutoConnector::__construct in Acquia Connector 8

Same name and namespace in other branches
  1. 8.2 src/AutoConnector.php \Drupal\acquia_connector\AutoConnector::__construct()
  2. 3.x src/AutoConnector.php \Drupal\acquia_connector\AutoConnector::__construct()

AutoConnector constructor.

Parameters

\Drupal\acquia_connector\Subscription $subscription: Acquia Subscription.

\Drupal\acquia_connector\Helper\Storage $storage: Storage.

array $global_config: Global config.

File

src/AutoConnector.php, line 45

Class

AutoConnector
Subscription Auto connector storage.

Namespace

Drupal\acquia_connector

Code

public function __construct(Subscription $subscription, Storage $storage, array $global_config) {
  $this->subscription = $subscription;
  $this->storage = $storage;
  $this->globalConfig = $global_config;
}