Merge pull request #10 from drbyte/patch-8

Update event-system.blade.md
This commit is contained in:
Samuel Štancl 2019-09-23 23:46:33 +02:00 committed by GitHub
commit 4366163024
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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']);
});
```
```