protected function addRedisSentinelSessionHandler()
    {
        $this->app->make('session')->extend('redis-sentinel', function ($app) {
            $cacheDriver = clone $app->make('cache')->driver('redis-sentinel');
            $minutes = $this->config->get('session.lifetime');
            $connection = $this->config->get('session.connection');

            $cacheDriver->getStore()->setConnection($connection);

            return new CacheBasedSessionHandler($cacheDriver, $minutes);
        });
    }
protected function addRedisSentinelSessionHandler()
    {
        $this->app->make('session')->extend('redis-sentinel', function ($app) {
            $cacheDriver = clone $app->make('cache')->driver('redis-sentinel');
            $minutes = $this->config->get('session.lifetime');
            $connection = $this->config->get('session.connection');

            $cacheDriver->getStore()->setConnection($connection);

            return new CacheBasedSessionHandler($cacheDriver, $minutes);
        });
    }
protected function addRedisSentinelSessionHandler ( ) { $ this -> app -> make ( 'session' ) -> extend ( 'redis-sentinel' , function ( $ app ) { $ cacheDriver = clone $ app -> make ( 'cache' ) -> driver ( 'redis-sentinel' ) ; $ minutes = $ this -> config -> get ( 'session.lifetime' ) ; $ connection = $ this -> config -> get ( 'session.connection' ) ; $ cacheDriver -> getStore ( ) -> setConnection ( $ connection ) ; return new CacheBasedSessionHandler ( $ cacheDriver , $ minutes ) ; } ) ; }
Add "redis-sentinel" as an available driver option to the Laravel
session manager.

@return void
Add redis - sentinel as an available driver option to the Laravel session manager .