src/View/Helper/MenuHelper.php
protected function _extractRendererOptions(array &$options)
    {
        $rendererOptions = array_diff_key(
            $options,
            array_flip([
                'menuAttributes',
                'matching',
                'matcher',
                'voters',
                'renderer'
            ])
        );

        $options = array_diff_key($options, $rendererOptions);

        return $rendererOptions;
    }
protected function _extractRendererOptions(array &$options)
    {
        $rendererOptions = array_diff_key(
            $options,
            array_flip([
                'menuAttributes',
                'matching',
                'matcher',
                'voters',
                'renderer'
            ])
        );

        $options = array_diff_key($options, $rendererOptions);

        return $rendererOptions;
    }
protected function _extractRendererOptions ( array & $ options ) { $ rendererOptions = array_diff_key ( $ options , array_flip ( [ 'menuAttributes' , 'matching' , 'matcher' , 'voters' , 'renderer' ] ) ) ; $ options = array_diff_key ( $ options , $ rendererOptions ) ; return $ rendererOptions ; }
Extracts the renderer options from an options array.

Renderer options are all options except for:

- `menuAttributes`
- `matching`
- `matcher`
- `voters`
- `renderer`

@param array $options The options array from which to extract (and remove) the renderer
options.
@return array The extracted renderer options.
Extracts the renderer options from an options array .