mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Update event-system.blade.md
This commit is contained in:
parent
a1317ae612
commit
bc0eda3895
1 changed files with 4 additions and 4 deletions
|
|
@ -7,11 +7,11 @@ section: content
|
|||
|
||||
# The Event System
|
||||
|
||||
You can use event hooks to change the behavior of the tenancy boostrapping and tenancy ending processes.
|
||||
You can use event hooks to change the behavior of the tenancy bootstrapping and tenancy ending processes.
|
||||
|
||||
The following events are available:
|
||||
- `boostrapping`
|
||||
- `boostrapped`
|
||||
- `bootstrapping`
|
||||
- `bootstrapped`
|
||||
- `ending`
|
||||
- `ended`
|
||||
|
||||
|
|
@ -46,4 +46,4 @@ Another common use case for events is tenant-specific config:
|
|||
\Tenancy::eventListener('bootstrapped', function ($tenantManager) {
|
||||
config(['some.api.key' => $tenantManager->tenant['api_key']);
|
||||
});
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue