protected function setMailerDependencies($mailer, $app)
    {
        $mailer->setContainer($app);

        if ($app->bound('log')) {
            $mailer->setLogger($app['log']);
        }

        if ($app->bound('queue')) {
            $mailer->setQueue($app['queue']);
        }
    }
protected function setMailerDependencies($mailer, $app)
    {
        $mailer->setContainer($app);

        if ($app->bound('log')) {
            $mailer->setLogger($app['log']);
        }

        if ($app->bound('queue')) {
            $mailer->setQueue($app['queue']);
        }
    }
protected function setMailerDependencies ( $ mailer , $ app ) { $ mailer -> setContainer ( $ app ) ; if ( $ app -> bound ( 'log' ) ) { $ mailer -> setLogger ( $ app [ 'log' ] ) ; } if ( $ app -> bound ( 'queue' ) ) { $ mailer -> setQueue ( $ app [ 'queue' ] ) ; } }
Set a few dependencies on the mailer instance.

@param  \Nova\Mail\Mailer  $mailer
@param  \Nova\Foundation\Application  $app
@return void
Set a few dependencies on the mailer instance .