You are here

public function Trigger::__construct in Build Hooks 8

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

Constructs a new Trigger object.

File

src/Trigger.php, line 63

Class

Trigger
Class Trigger.

Namespace

Drupal\build_hooks

Code

public function __construct(ConfigFactoryInterface $configFactory, ClientInterface $httpClient, AccountProxyInterface $currentUser, TranslationManager $stringTranslation, MessengerInterface $messenger, LoggerChannelFactoryInterface $logger) {
  $this->configFactory = $configFactory;
  $this->httpClient = $httpClient;
  $this->currentUser = $currentUser;
  $this->stringTranslation = $stringTranslation;
  $this->messenger = $messenger;
  $this->logger = $logger;
}