protected function overrideSetting($options, $key)
    {
        if (isset($options[$key]) && is_array($options[$key])) {
            $this->{$key} = $options[$key];
        }
    }
protected function overrideSetting($options, $key)
    {
        if (isset($options[$key]) && is_array($options[$key])) {
            $this->{$key} = $options[$key];
        }
    }
protected function overrideSetting ( $ options , $ key ) { if ( isset ( $ options [ $ key ] ) && is_array ( $ options [ $ key ] ) ) { $ this -> { $ key } = $ options [ $ key ] ; } }
Override a default setting.
@param $options
@param $key
Override a default setting .