TenancyBroadcastManager
class TenancyBroadcastManager extends BroadcastManager (View source)
Properties
static array | $tenantBroadcasters | Names of broadcasters to always recreate using $this->resolve() (even when they're cached and available in the $broadcasters property). |
Methods
Override the get method so that the broadcasters in $tenantBroadcasters always get freshly resolved even when they're cached and available in the $broadcasters property, and that the resolved broadcaster will override the BroadcasterContract::class singleton.
No description
Details
protected
get($name)
Override the get method so that the broadcasters in $tenantBroadcasters always get freshly resolved even when they're cached and available in the $broadcasters property, and that the resolved broadcaster will override the BroadcasterContract::class singleton.
If there's a cached broadcaster with the same name as $name, give its channels to the newly resolved bootstrapper.
protected void
passChannelsFromOriginalBroadcaster(Broadcaster $originalBroadcaster, Broadcaster $newBroadcaster)
No description