You are here

public function MailingListController::__construct in Mailgun 8

MailingListController constructor.

Parameters

\Mailgun\Mailgun $mailgun_client: The Mailgun client.

\Psr\Log\LoggerInterface $logger: The logger instance.

File

modules/mailgun_mailing_lists/src/Controller/MailingListController.php, line 48

Class

MailingListController
Provides page callbacks for Mailgun Mailing Lists module.

Namespace

Drupal\mailgun_mailing_lists\Controller

Code

public function __construct(Mailgun $mailgun_client, LoggerInterface $logger) {
  $this->mailgunClient = $mailgun_client;
  $this->logger = $logger;
}