protected function parseOptions(OptionsBag $sessionOptions)
    {
        $options = $sessionOptions->get('options', []);

        if ($sessionOptions->get('prefix')) {
            Deprecated::warn('Specifying "prefix" directly in session config', 1.0, 'Move it under the "options" key.');

            $options['prefix'] = $sessionOptions->get('prefix');
        }

        return $options;
    }
protected function parseOptions(OptionsBag $sessionOptions)
    {
        $options = $sessionOptions->get('options', []);

        if ($sessionOptions->get('prefix')) {
            Deprecated::warn('Specifying "prefix" directly in session config', 1.0, 'Move it under the "options" key.');

            $options['prefix'] = $sessionOptions->get('prefix');
        }

        return $options;
    }
protected function parseOptions ( OptionsBag $ sessionOptions ) { $ options = $ sessionOptions -> get ( 'options' , [ ] ) ; if ( $ sessionOptions -> get ( 'prefix' ) ) { Deprecated :: warn ( 'Specifying "prefix" directly in session config' , 1.0 , 'Move it under the "options" key.' ) ; $ options [ 'prefix' ] = $ sessionOptions -> get ( 'prefix' ) ; } return $ options ; }
Parse Predis options from session options.

@param OptionsBag $sessionOptions

@return array
Parse Predis options from session options .