1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 23:54:03 +00:00
This commit is contained in:
Samuel Štancl 2019-08-17 15:53:56 +02:00
parent 33be9b958a
commit 8141f8524e

View file

@ -13,6 +13,8 @@ To create a tenant, you can use
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:
```php