laravel-websockets icon indicating copy to clipboard operation
laravel-websockets copied to clipboard

How to get all channels in order to get all connections?

Open hamidroohani opened this issue 3 years ago • 0 comments

I created a system that creates channels dynamically, For an admin panel I want to see a list of all connections. After reading the package, I found the getChannels function that supposes to return all channel names, but it returns an empty array

 $channelManager = app(ChannelManager::class);
 $channels = Collection::make($channelManager->getChannels('devices'));

hamidroohani avatar Jul 09 '22 10:07 hamidroohani