mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:54:05 +00:00
Change $credentialsMap so that config keys are the keys, and the tenant property names are the values
This commit is contained in:
parent
04ada13584
commit
4016bc17ba
1 changed files with 9 additions and 9 deletions
|
|
@ -17,18 +17,18 @@ class MailTenancyBootstrapper implements TenancyBootstrapper
|
|||
*
|
||||
* For example:
|
||||
* [
|
||||
* 'property' => 'config.key.name',
|
||||
* 'config.key.name' => 'tenant_property',
|
||||
* ]
|
||||
*/
|
||||
public static array $credentialsMap = [
|
||||
'smtp_transport' => 'mail.mailers.smtp.transport',
|
||||
'smtp_host' => 'mail.mailers.smtp.host',
|
||||
'smtp_port' => 'mail.mailers.smtp.port',
|
||||
'smtp_encryption' => 'mail.mailers.smtp.encryption',
|
||||
'smtp_username' => 'mail.mailers.smtp.username',
|
||||
'smtp_password' => 'mail.mailers.smtp.password',
|
||||
'smtp_timeout' => 'mail.mailers.smtp.timeout',
|
||||
'smtp_local_domain' => 'mail.mailers.smtp.local_domain',
|
||||
'mail.mailers.smtp.transport' => 'smtp_transport',
|
||||
'mail.mailers.smtp.host' => 'smtp_host',
|
||||
'mail.mailers.smtp.port' => 'smtp_port',
|
||||
'mail.mailers.smtp.encryption' => 'smtp_encryption',
|
||||
'mail.mailers.smtp.username' => 'smtp_username',
|
||||
'mail.mailers.smtp.password' => 'smtp_password',
|
||||
'mail.mailers.smtp.timeout' => 'smtp_timeout',
|
||||
'mail.mailers.smtp.local_domain' => 'smtp_local_domain',
|
||||
];
|
||||
|
||||
public function __construct(protected Repository $config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue