protected function mergeOptions($options)
    {
        $config = Configuration::config();
        $baseOptions = array_merge($this->options, $config['settings']);
        return array_merge($baseOptions, $options);
    }
protected function mergeOptions($options)
    {
        $config = Configuration::config();
        $baseOptions = array_merge($this->options, $config['settings']);
        return array_merge($baseOptions, $options);
    }
protected function mergeOptions ( $ options ) { $ config = Configuration :: config ( ) ; $ baseOptions = array_merge ( $ this -> options , $ config [ 'settings' ] ) ; return array_merge ( $ baseOptions , $ options ) ; }
Merges given options with default values and current configuration

@param array $options options
@return array
@throws ConfigurationException
Merges given options with default values and current configuration