original_string: protected function setMailerDependencies($mailer, $app)
      {
          $mailer->setContainer($app);
  
          if ($app->bound('log')) {
              $mailer->setLogger($app['log']);
          }
  
          if ($app->bound('queue')) {
              $mailer->setQueue($app['queue']);
          }
      }
code: protected function setMailerDependencies($mailer, $app)
      {
          $mailer->setContainer($app);
  
          if ($app->bound('log')) {
              $mailer->setLogger($app['log']);
          }
  
          if ($app->bound('queue')) {
              $mailer->setQueue($app['queue']);
          }
      }
code_tokens: protected function setMailerDependencies ( $ mailer , $ app ) { $ mailer -> setContainer ( $ app ) ; if ( $ app -> bound ( 'log' ) ) { $ mailer -> setLogger ( $ app [ 'log' ] ) ; } if ( $ app -> bound ( 'queue' ) ) { $ mailer -> setQueue ( $ app [ 'queue' ] ) ; } }
docstring: Set a few dependencies on the mailer instance.
  
  @param  \Nova\Mail\Mailer  $mailer
  @param  \Nova\Foundation\Application  $app
  @return void
docstring_tokens: Set a few dependencies on the mailer instance .