mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 22:24:03 +00:00
Update TenancyServiceProvider comment
This commit is contained in:
parent
1b5133c6cd
commit
4ad9bf9912
1 changed files with 2 additions and 1 deletions
|
|
@ -70,7 +70,8 @@ class TenancyServiceProvider extends ServiceProvider
|
||||||
return new Commands\Seed($app['db']);
|
return new Commands\Seed($app['db']);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Use custom mail manager that resolves the mailers instead of getting the cached mailers from the $mailers property
|
// Use custom mail manager that resolves the mailers specified in its $mailersToNotCache static property
|
||||||
|
// Instead of getting the cached mailers from the $mailers property
|
||||||
$this->app->extend(MailManager::class, function (MailManager $mailManager) {
|
$this->app->extend(MailManager::class, function (MailManager $mailManager) {
|
||||||
return new TenancyMailManager($this->app);
|
return new TenancyMailManager($this->app);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue