diff --git a/source/docs/event-system.md b/source/docs/event-system.md index 55b4c2ee..f3524623 100644 --- a/source/docs/event-system.md +++ b/source/docs/event-system.md @@ -15,6 +15,8 @@ The following events are available: - `ending` - `ended` +### Tenant-specific database connection example {#tenant-specific-database-connection-example} + You can hook into these events using `Tenancy::`: ```php \Tenancy::boostrapping(function ($tenantManager) { @@ -35,6 +37,8 @@ The following actions can be prevented: - CacheManager switch: `cache` - Filesystem changes: `filesystem` +### Tenant-specific configuration example {#tenant-specific-configuration-example} + Another common use case for events is tenant-specific config: ```php \Tenancy::bootstrapped(function ($tenantManager) {