mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 22:24:03 +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:
|
* For example:
|
||||||
* [
|
* [
|
||||||
* 'property' => 'config.key.name',
|
* 'config.key.name' => 'tenant_property',
|
||||||
* ]
|
* ]
|
||||||
*/
|
*/
|
||||||
public static array $credentialsMap = [
|
public static array $credentialsMap = [
|
||||||
'smtp_transport' => 'mail.mailers.smtp.transport',
|
'mail.mailers.smtp.transport' => 'smtp_transport',
|
||||||
'smtp_host' => 'mail.mailers.smtp.host',
|
'mail.mailers.smtp.host' => 'smtp_host',
|
||||||
'smtp_port' => 'mail.mailers.smtp.port',
|
'mail.mailers.smtp.port' => 'smtp_port',
|
||||||
'smtp_encryption' => 'mail.mailers.smtp.encryption',
|
'mail.mailers.smtp.encryption' => 'smtp_encryption',
|
||||||
'smtp_username' => 'mail.mailers.smtp.username',
|
'mail.mailers.smtp.username' => 'smtp_username',
|
||||||
'smtp_password' => 'mail.mailers.smtp.password',
|
'mail.mailers.smtp.password' => 'smtp_password',
|
||||||
'smtp_timeout' => 'mail.mailers.smtp.timeout',
|
'mail.mailers.smtp.timeout' => 'smtp_timeout',
|
||||||
'smtp_local_domain' => 'mail.mailers.smtp.local_domain',
|
'mail.mailers.smtp.local_domain' => 'smtp_local_domain',
|
||||||
];
|
];
|
||||||
|
|
||||||
public function __construct(protected Repository $config)
|
public function __construct(protected Repository $config)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue