示例#1
0
 /**
  * Merge conflicting packages into a RootPackage
  *
  * @param RootPackage $root
  */
 protected function mergeConflicts(RootPackage $root)
 {
     $conflicts = $this->package->getConflicts();
     if (!empty($conflicts)) {
         $root->setconflicts(array_merge($root->getConflicts(), $conflicts));
     }
 }