1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-08-06 17:54:05 +00:00
tenancy/src/Bootstrappers
lukinovec 2a0464d694 Resolve (and cache) tenant broadcasters once per tenancy initialization instead of re-resolving them every time
TenancyBroadcastManager now overrides resolve() (only to pass the central channels to the newly resolved broadcasters) instead of get(), so broadcasters stay cached for the duration of the tenant's context.

Remove TenancyBroadcastManager::$tenantBroadcasters -- all broadcasters now inherit the central channels, so even custom drivers work without any additional configuration/registration.

Channels registered via Broadcast::channel() in tenant context are no longer lost on subsequent broadcaster retrievals (e.g. during /broadcasting/auth). Added a dedicated test for this,
2026-07-10 15:06:03 +02:00
..
Integrations [4.x] Resolve testing todos (#1361) 2025-08-03 23:21:03 +02:00
BroadcastChannelPrefixBootstrapper.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
BroadcastingConfigBootstrapper.php Resolve (and cache) tenant broadcasters once per tenancy initialization instead of re-resolving them every time 2026-07-10 15:06:03 +02:00
CacheTagsBootstrapper.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
CacheTenancyBootstrapper.php Make globalCache always use central conn with DB cache stores (#1462) 2026-06-27 18:30:01 -07:00
DatabaseCacheBootstrapper.php Make globalCache always use central conn with DB cache stores (#1462) 2026-06-27 18:30:01 -07:00
DatabaseSessionBootstrapper.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
DatabaseTenancyBootstrapper.php Correct DatabaseTenancyBootstrapperTest (#1466) 2026-06-30 18:59:46 -07:00
FilesystemTenancyBootstrapper.php Add LogChannelBootstrapper (#1381) 2026-07-08 01:42:05 -07:00
LogChannelBootstrapper.php Add LogChannelBootstrapper (#1381) 2026-07-08 01:42:05 -07:00
MailConfigBootstrapper.php docblocks: change TenantConfig references to TenantConfigBootstrapper 2025-10-30 02:32:17 +01:00
PersistentQueueTenancyBootstrapper.php [4.x] Queue logic refactor (#1289) 2025-01-14 13:49:16 +01:00
PostgresRLSBootstrapper.php Postgres RLS + permission controlled database managers (#33) 2024-04-24 22:32:49 +02:00
QueueTenancyBootstrapper.php [4.x] Queue logic refactor (#1289) 2025-01-14 13:49:16 +01:00
RedisTenancyBootstrapper.php redis bootstrapper: support clusters (#1207) 2024-04-12 01:05:46 +02:00
RootUrlBootstrapper.php [4.x] Cleanup (#1317) 2025-02-20 20:49:09 +01:00
TenantConfigBootstrapper.php Add TenantConfigBootstrapper, deprecate Feature implementation 2025-09-26 13:49:15 +02:00
UrlGeneratorBootstrapper.php TenancyUrlGenerator: override toRoute(), refactor (#1439) 2026-06-06 14:52:37 -07:00