You are here

public function Trigger::__construct in Build Hooks 8.2

Same name and namespace in other branches
  1. 8 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 102

Class

Trigger
Class Trigger.

Namespace

Drupal\build_hooks

Code

public function __construct(ConfigFactoryInterface $configFactory, ClientInterface $httpClient, AccountProxyInterface $currentUser, TranslationManager $stringTranslation, MessengerInterface $messenger, LoggerChannelFactoryInterface $logger, DeployLogger $deployLogger, EntityTypeManager $entityTypeManager, CacheTagsInvalidatorInterface $cacheTagInvalidator, EventDispatcherInterface $event_dispatcher) {
  $this->configFactory = $configFactory;
  $this->httpClient = $httpClient;
  $this->currentUser = $currentUser;
  $this->stringTranslation = $stringTranslation;
  $this->messenger = $messenger;
  $this->logger = $logger;
  $this->deployLogger = $deployLogger;
  $this->entityTypeManager = $entityTypeManager;
  $this->cacheTagInvalidator = $cacheTagInvalidator;
  $this->eventDispatcher = $event_dispatcher;
}