public function mergeConfig($new = array())
    {
        $config = (object) array_merge(
            (array) $this->_defaultConfiguration,
            (array) $this->_configuration,
            (array) $new
        );

        foreach ($config as $key => $value) {
            $this->setConfig($key, $value);
        }

        return $this;
    }
public function mergeConfig($new = array())
    {
        $config = (object) array_merge(
            (array) $this->_defaultConfiguration,
            (array) $this->_configuration,
            (array) $new
        );

        foreach ($config as $key => $value) {
            $this->setConfig($key, $value);
        }

        return $this;
    }
public function mergeConfig ( $ new = array ( ) ) { $ config = ( object ) array_merge ( ( array ) $ this -> _defaultConfiguration , ( array ) $ this -> _configuration , ( array ) $ new ) ; foreach ( $ config as $ key => $ value ) { $ this -> setConfig ( $ key , $ value ) ; } return $ this ; }
Merge new data into the current defaults and configuration

@param mixed $new new data for configuration

@return object
Merge new data into the current defaults and configuration