mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Str import
This commit is contained in:
parent
7a38437a04
commit
ecfbaf6a12
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,8 @@ That said, automatic tenancy will still work the same way.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
use Stancl\Tenancy\Tenant;
|
use Stancl\Tenancy\Tenant;
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
tenancy()
|
tenancy()
|
||||||
->all()
|
->all()
|
||||||
->each(function (Tenant $tenant) {
|
->each(function (Tenant $tenant) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue