public function parse(OptionsBag $sessionOptions)
    {
        if ($sessionOptions['save_path']) {
            return $this->parseConnectionsFromSavePath($sessionOptions['save_path']);
        }

        return $this->parseConnectionsFromOptions($sessionOptions);
    }
public function parse(OptionsBag $sessionOptions)
    {
        if ($sessionOptions['save_path']) {
            return $this->parseConnectionsFromSavePath($sessionOptions['save_path']);
        }

        return $this->parseConnectionsFromOptions($sessionOptions);
    }
public function parse ( OptionsBag $ sessionOptions ) { if ( $ sessionOptions [ 'save_path' ] ) { return $ this -> parseConnectionsFromSavePath ( $ sessionOptions [ 'save_path' ] ) ; } return $ this -> parseConnectionsFromOptions ( $ sessionOptions ) ; }
Parse the session options to connection parameters.

@param OptionsBag $sessionOptions

@return OptionsBag[]
Parse the session options to connection parameters .