1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 14:34:04 +00:00

Update TenancyServiceProvider comment

This commit is contained in:
lukinovec 2022-10-31 18:08:28 +01:00
parent 1b5133c6cd
commit 4ad9bf9912

View file

@ -70,7 +70,8 @@ class TenancyServiceProvider extends ServiceProvider
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) {
return new TenancyMailManager($this->app);
});