protected function registerOverrides()
    {
        $this->app->singleton('redis', function ($app) {
            return $app->make('redis-sentinel');
        });

        $this->app->bind('redis.connection', function ($app) {
            return $app->make('redis-sentinel.manager')->connection();
        });
    }
protected function registerOverrides()
    {
        $this->app->singleton('redis', function ($app) {
            return $app->make('redis-sentinel');
        });

        $this->app->bind('redis.connection', function ($app) {
            return $app->make('redis-sentinel.manager')->connection();
        });
    }
protected function registerOverrides ( ) { $ this -> app -> singleton ( 'redis' , function ( $ app ) { return $ app -> make ( 'redis-sentinel' ) ; } ) ; $ this -> app -> bind ( 'redis.connection' , function ( $ app ) { return $ app -> make ( 'redis-sentinel.manager' ) -> connection ( ) ; } ) ; }
Replace the standard Laravel Redis service with the Redis Sentinel
database driver so all Redis operations use Sentinel connections.

@return void
Replace the standard Laravel Redis service with the Redis Sentinel database driver so all Redis operations use Sentinel connections .