mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-13 02:34:03 +00:00
Update tenants.blade.md
This commit is contained in:
parent
a1317ae612
commit
20f4f7cc05
1 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ You may also use `->with<PropertyNameInPascalCase>` and it will be stored in sna
|
||||||
These methods make the most sense (= sound the best) during tenant creation:
|
These methods make the most sense (= sound the best) during tenant creation:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
// $domains = ['foo.yourapp.com', 'foo.com'];
|
$domains = ['foo.yourapp.com', 'foo.com'];
|
||||||
$primary_domain = $domains[0];
|
$primary_domain = $domains[0];
|
||||||
$id = $primary_domain . $this->randomString(24);
|
$id = $primary_domain . $this->randomString(24);
|
||||||
|
|
||||||
|
|
@ -96,4 +96,4 @@ Tenant::new()
|
||||||
->withPaypalApiKey('defaultApiKey');
|
->withPaypalApiKey('defaultApiKey');
|
||||||
->withId($id)
|
->withId($id)
|
||||||
->save();
|
->save();
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue