public function LcaManager::resolveLowestCommonAncestor in Conflict 8
Parameters
RevisionableInterface $revision1:
RevisionableInterface $revision2:
\Fhaculty\Graph\Graph $graph:
Return value
int revision_ID
File
- src/
LcaManager.php, line 27
Class
Namespace
Drupal\conflictCode
public function resolveLowestCommonAncestor(RevisionableInterface $revision1, RevisionableInterface $revision2, Graph $graph = NULL) {
foreach ($this->resolvers as $resolver) {
if ($resolver
->applies()) {
return $resolver
->resolve($revision1, $revision2, $graph);
}
}
}