getConflictingModules() public méthode

The method {@link load()} needs to be called before calling this method, otherwise an exception is thrown.
public getConflictingModules ( ) : ModuleList
Résultat Puli\Manager\Api\Module\ModuleList The conflicting modules.
 /**
  * {@inheritdoc}
  */
 public function execute()
 {
     $rootModuleName = $this->rootModule->getName();
     $rootModuleFile = $this->rootModule->getModuleFile();
     foreach ($this->mapping->getConflictingModules() as $conflictingModule) {
         $moduleName = $conflictingModule->getName();
         if (!$rootModuleFile->hasOverriddenModule($moduleName)) {
             $rootModuleFile->addOverriddenModule($moduleName);
             $this->overriddenModules[] = $moduleName;
         }
         if (!$this->overrideGraph->hasEdge($moduleName, $rootModuleName)) {
             $this->overrideGraph->addEdge($moduleName, $rootModuleName);
             $this->addedEdgesFrom[] = $moduleName;
         }
     }
 }