/**
  * {@inheritdoc}
  */
 public function rollback()
 {
     foreach ($this->addedConflicts as $repositoryPath) {
         if ($this->conflicts->has($repositoryPath)) {
             $conflict = $this->conflicts->get($repositoryPath);
             $conflict->resolve();
             $this->conflicts->remove($repositoryPath);
         }
     }
     foreach ($this->removedConflicts as $repositoryPath => $conflictingMappings) {
         $conflict = new PathConflict($repositoryPath);
         $conflict->addMappings($conflictingMappings);
         $this->conflicts->add($conflict);
     }
 }
 /**
  * {@inheritdoc}
  */
 public function getPathConflicts()
 {
     $this->assertMappingsLoaded();
     return array_values($this->conflicts->toArray());
 }