src/Charcoal/Model/Service/MetadataConfig.php
public function merge($data)
    {
        foreach ($data as $key => $val) {
            if ($key === 'paths') {
                $this->addPaths((array)$val);
            } elseif ($key === 'cache') {
                $this->setCache($val);
            } else {
                $this->offsetReplace($key, $val);
            }
        }

        return $this;
    }
public function merge($data)
    {
        foreach ($data as $key => $val) {
            if ($key === 'paths') {
                $this->addPaths((array)$val);
            } elseif ($key === 'cache') {
                $this->setCache($val);
            } else {
                $this->offsetReplace($key, $val);
            }
        }

        return $this;
    }
public function merge ( $ data ) { foreach ( $ data as $ key => $ val ) { if ( $ key === 'paths' ) { $ this -> addPaths ( ( array ) $ val ) ; } elseif ( $ key === 'cache' ) { $ this -> setCache ( $ val ) ; } else { $ this -> offsetReplace ( $ key , $ val ) ; } } return $ this ; }
Add settings to configset, replacing existing settings with the same data key.

@see    \Charcoal\Config\AbstractConfig::merge()
@param  array|Traversable $data The data to merge.
@return self
Add settings to configset replacing existing settings with the same data key .