Пример #1
0
 /**
  * @param \Swift_Mailer $mailer
  * @param string $mailerName
  * @param $name
  */
 public function __construct(\Swift_Mailer $mailer, $mailerName)
 {
     $this->mailer = $mailer;
     parent::__construct($mailerName);
 }
Пример #2
0
 /**
  * MailgunHandler constructor.
  *
  * @param Mailgun $mailgun
  * @param $domain
  * @param $mailerName
  * @param $name
  */
 public function __construct(Mailgun $mailgun, $domain, $mailerName)
 {
     $this->mailgun = $mailgun;
     $this->domain = $domain;
     parent::__construct($mailerName);
 }