Beispiel #1
0
 /**
  * Set a few dependencies on the mailer instance.
  *
  * @return void
  */
 protected function setMailerDependencies()
 {
     $this->mailer->setContainer($this->app);
     if ($this->app->bound('Psr\\Log\\LoggerInterface')) {
         $this->mailer->setLogger($this->app->make('Psr\\Log\\LoggerInterface'));
     }
     if ($this->app->bound('queue')) {
         $this->mailer->setQueue($this->app['queue.connection']);
     }
 }