This commit is contained in:
Ahmed Sayed 2022-04-20 16:14:56 +02:00 committed by GitHub
parent 703f7b037b
commit c60057db72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ For example, if your `$storageToConfigMap` looked like this:
```php ```php
\Stancl\Tenancy\Features\TenantConfig::$storageToConfigMap = [ \Stancl\Tenancy\Features\TenantConfig::$storageToConfigMap = [
'paypal_api_key' => 'services.paypal.api_key', 'paypal_api_key' => 'services.paypal.api_key',
], ];
``` ```
the value of `paypal_api_key` in tenant model would be copied to the `services.paypal.api_key` config when tenancy is initialized. the value of `paypal_api_key` in tenant model would be copied to the `services.paypal.api_key` config when tenancy is initialized.
@ -45,5 +45,5 @@ Sometimes you may want to copy the value to multiple config keys. To do that, sp
'app.locale', 'app.locale',
'locales.default', 'locales.default',
], ],
], ];
``` ```