A mapping can refer to at most one conflict per conflicting repository
path. If the same conflict is added twice, the second addition is
ignored. If a different conflict is added for an existing repository
path, the previous conflict is removed before adding the new conflict
for the repository path.
The repository path of the conflict must either be the repository path
of the mapping or any path within. If a conflict with a different path
is added, an exception is thrown.
The method {@link load()} needs to be called before calling this method,
otherwise an exception is thrown.
public addConflict ( Puli\Manager\Api\Repository\PathConflict $conflict ) | ||
$conflict | Puli\Manager\Api\Repository\PathConflict | The conflict to be added. |