public function ZoomApiWebhooksController::__construct in Zoom API 8
Same name and namespace in other branches
- 2.0.x src/Controller/ZoomApiWebhooksController.php \Drupal\zoomapi\Controller\ZoomApiWebhooksController::__construct()
Constructs a new WebhookController object.
Parameters
\Psr\Log\LoggerInterface $logger: Logger interface.
\Drupal\key\KeyRepositoryInterface $key_repository: Key repository interface.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config factory interface.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: Request stack.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: Event dispatcher interface.
File
- src/
Controller/ ZoomApiWebhooksController.php, line 87
Class
- ZoomApiWebhooksController
- Class ZoomApiWebhooksController.
Namespace
Drupal\zoomapi\ControllerCode
public function __construct(LoggerInterface $logger, KeyRepositoryInterface $key_repository, ConfigFactoryInterface $config_factory, RequestStack $request_stack, EventDispatcherInterface $event_dispatcher) {
$this->logger = $logger;
$this->requestStack = $request_stack;
$this->eventDispatcher = $event_dispatcher;
$this->keyRepository = $key_repository;
$this->config = $config_factory
->get('zoomapi.settings');
$this->webhookVerificationToken = $this
->getKeyValue('webhook_verification_token');
}