public function merge(array $config, $type) { foreach ($config as $key => $val) { $this->set($key, $val, $type); } }