first commit
This commit is contained in:
No files matched your search
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
//
|
||||
$this->app->singleton(
|
||||
'mailer',
|
||||
function ($app) {
|
||||
return $app->loadComponent('mail', 'Illuminate\Mail\MailServiceProvider', 'mailer');
|
||||
}
|
||||
);
|
||||
// Aliases
|
||||
$this->app->alias('mailer', \Illuminate\Contracts\Mail\Mailer::class);
|
||||
// Make Queue
|
||||
$this->app->make('queue');
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user