public function MailchimpWebhookController::__construct in Mailchimp 2.x
Same name and namespace in other branches
- 8 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;
}