You are here

mailgun.services.yml in Mailgun 8

File

mailgun.services.yml
View source
  1. services:
  2. mailgun.mailgun_client_factory:
  3. class: Drupal\mailgun\MailgunFactory
  4. arguments: ['@config.factory']
  5. mailgun.mailgun_client:
  6. class: Mailgun\Mailgun
  7. factory: mailgun.mailgun_client_factory:create
  8. mailgun.mail_handler:
  9. class: Drupal\mailgun\MailgunHandler
  10. arguments: ['@mailgun.mailgun_client', '@config.factory', '@logger.channel.mailgun', '@messenger', '@email.validator']
  11. logger.channel.mailgun:
  12. class: Drupal\Core\Logger\LoggerChannel
  13. factory: logger.factory:get
  14. arguments: ['mailgun']