public function MailchimpWebhookController::__construct in Mailchimp 8
Same name and namespace in other branches
- 2.x src/Controller/MailchimpWebhookController.php \Drupal\mailchimp\Controller\MailchimpWebhookController::__construct()
Constructs a MailchimpWebhookController.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: Module handler.
\Psr\Log\LoggerInterface $logger: A logger instance.
File
- src/
Controller/ MailchimpWebhookController.php, line 38
Class
- MailchimpWebhookController
- Mailchimp Webhook controller.
Namespace
Drupal\mailchimp\ControllerCode
public function __construct(ModuleHandlerInterface $moduleHandler, LoggerInterface $logger) {
$this->moduleHandler = $moduleHandler;
$this->logger = $logger;
}