Example #1
0
 /**
  * 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)
 {
     foreach ($fragment as $k => $v) {
         Config::merge_high_into_low($into[$k], $v);
     }
 }
 /**
  * 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);
         }
     }
 }