Пример #1
0
 /**
  * Find configuration files matching the configured glob patterns and
  * merge their contents with the master package.
  *
  * @param array $includes List of files/glob patterns
  */
 protected function mergeIncludes(array $includes)
 {
     $root = $this->state->getRootPackage();
     foreach (array_reduce(array_map('glob', $includes), 'array_merge', array()) as $path) {
         $this->mergeFile($root, $path);
     }
 }