You are here

public function Trigger::__construct in Build Hooks 3.x

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

Constructs a new Trigger object.

File

src/Trigger.php, line 102

Class

Trigger
Defines a service for triggering deployments.

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;
}