Architecture Reference¶
Deep technical documentation of Tenancy Bundle internals. For contributors and advanced users who need to understand how the bundle works under the hood.
Topics¶
- Event Lifecycle — TenantResolved, TenantBootstrapped, TenantContextCleared
- DI Compilation Pipeline — 3 compiler passes, service tagging, container build
- DBAL Driver-Middleware — TenantDriverMiddleware + TenantAwareDriver connection switching
- SQL Filter Internals — TenantAwareFilter Doctrine filter
- Messenger Stamp Lifecycle — dispatch, serialize, consume, teardown
- Design Decisions — rationale behind key architectural choices