mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24: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:
|
||||
|
||||
```php
|
||||
// $domains = ['foo.yourapp.com', 'foo.com'];
|
||||
$domains = ['foo.yourapp.com', 'foo.com'];
|
||||
$primary_domain = $domains[0];
|
||||
$id = $primary_domain . $this->randomString(24);
|
||||
|
||||
|
|
@ -96,4 +96,4 @@ Tenant::new()
|
|||
->withPaypalApiKey('defaultApiKey');
|
||||
->withId($id)
|
||||
->save();
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue