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

        $options = $this->parseOptions($sessionOptions);

        return new Predis\Client($connections, $options);
    }
public function create(OptionsBag $sessionOptions)
    {
        $connections = $this->parse($sessionOptions);

        $options = $this->parseOptions($sessionOptions);

        return new Predis\Client($connections, $options);
    }
public function create ( OptionsBag $ sessionOptions ) { $ connections = $ this -> parse ( $ sessionOptions ) ; $ options = $ this -> parseOptions ( $ sessionOptions ) ; return new Predis \ Client ( $ connections , $ options ) ; }
Creates a Predis instance from the session options.

@param OptionsBag $sessionOptions

@return Predis\Client
Creates a Predis instance from the session options .