protected function addRedisSentinelBroadcaster()
    {
        $this->app->make(BroadcastFactory::class)
            ->extend('redis-sentinel', function ($app, $conf) {
                $redis = $app->make('redis-sentinel.manager');
                $connection = Arr::get($conf, 'connection', 'default');

                return new RedisBroadcaster($redis, $connection);
            });
    }
protected function addRedisSentinelBroadcaster()
    {
        $this->app->make(BroadcastFactory::class)
            ->extend('redis-sentinel', function ($app, $conf) {
                $redis = $app->make('redis-sentinel.manager');
                $connection = Arr::get($conf, 'connection', 'default');

                return new RedisBroadcaster($redis, $connection);
            });
    }
protected function addRedisSentinelBroadcaster ( ) { $ this -> app -> make ( BroadcastFactory :: class ) -> extend ( 'redis-sentinel' , function ( $ app , $ conf ) { $ redis = $ app -> make ( 'redis-sentinel.manager' ) ; $ connection = Arr :: get ( $ conf , 'connection' , 'default' ) ; return new RedisBroadcaster ( $ redis , $ connection ) ; } ) ; }
Add "redis-sentinel" as an available broadcaster option to the Laravel
event broadcasting manager.

@return void
Add redis - sentinel as an available broadcaster option to the Laravel event broadcasting manager .