/** * Recursively merge a yaml fragment's configuration array into the primary merged configuration array. * @param $into * @param $fragment * @return void */ public function mergeInYamlFragment(&$into, $fragment) { if (is_array($fragment) || $fragment instanceof Traversable) { foreach ($fragment as $k => $v) { Config::merge_high_into_low($into[$k], $v); } } }