You are here

public function GetSettingsFromEnvVar::__construct in Acquia Content Hub 8.2

GetSettingsFromEnvVarTest constructor.

Parameters

\Drupal\Core\Logger\LoggerChannelInterface $logger: Acquia ContentHub logger channel.

\Drupal\Core\Messenger\MessengerInterface $messenger: Drupal messenger interface.

File

src/EventSubscriber/GetSettings/GetSettingsFromEnvVar.php, line 58

Class

GetSettingsFromEnvVar
Gets the ContentHub Server settings from environment variable.

Namespace

Drupal\acquia_contenthub\EventSubscriber\GetSettings

Code

public function __construct(LoggerChannelInterface $logger, MessengerInterface $messenger) {
  $this->logger = $logger;
  $this->messenger = $messenger;
}