mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 04:54:03 +00:00
wip
This commit is contained in:
parent
33be9b958a
commit
8141f8524e
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ To create a tenant, you can use
|
||||||
tenant()->create('tenant1.yourapp.com');
|
tenant()->create('tenant1.yourapp.com');
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Tip: All domains under `.localhost` are routed to 127.0.0.1 on most operating systems. This is useful for development.
|
||||||
|
|
||||||
If you want to set some data while creating the tenant, you can pass an array with the data as the second argument:
|
If you want to set some data while creating the tenant, you can pass an array with the data as the second argument:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue