mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Remove text
This commit is contained in:
parent
ee6025e0f5
commit
30ce005ffb
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ Also a good rule of thumb is that when you need to query the data with `WHERE` c
|
|||
|
||||
## Running commands in the tenant context {#running-commands-in-the-tenant-context}
|
||||
|
||||
You may run commands in a tenant's context (e.g. creating a user in the tenants user database) and then return to the previous context (be it central, or another tenant's) by passing a callable to the `run()` method on the tenant object. For example:
|
||||
You may run commands in a tenant's context and then return to the previous context (be it central, or another tenant's) by passing a callable to the `run()` method on the tenant object. For example:
|
||||
|
||||
```php
|
||||
$tenant->run(function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue