public function create(OptionsBag $sessionOptions)
    {
        $connections = $this->parse($sessionOptions);

        $conn = $this->selectConnection($connections);

        $class = $this->class;
        $redis = new $class();

        return $this->configure($redis, $conn);
    }
public function create(OptionsBag $sessionOptions)
    {
        $connections = $this->parse($sessionOptions);

        $conn = $this->selectConnection($connections);

        $class = $this->class;
        $redis = new $class();

        return $this->configure($redis, $conn);
    }
public function create ( OptionsBag $ sessionOptions ) { $ connections = $ this -> parse ( $ sessionOptions ) ; $ conn = $ this -> selectConnection ( $ connections ) ; $ class = $ this -> class ; $ redis = new $ class ( ) ; return $ this -> configure ( $ redis , $ conn ) ; }
Creates a Redis instance from the session options.

@param OptionsBag $sessionOptions

@return Redis
Creates a Redis instance from the session options .