Exemplo n.º 1
0
 /**
  * Set a few dependencies on the mailer instance.
  *
  * @param Mailer $mailer
  *
  * @return void
  */
 protected function setMailerDependencies($mailer)
 {
     $mailer->setDI($this->di);
     if ($this->di->has('queue')) {
         $mailer->setQueue($this->di['queue']);
     }
 }