![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/app/bundles/IntegrationsBundle/Sync/SyncJudge/ |
<?php declare(strict_types=1); namespace Mautic\IntegrationsBundle\Sync\SyncJudge; use Mautic\IntegrationsBundle\Sync\DAO\Sync\InformationChangeRequestDAO; use Mautic\IntegrationsBundle\Sync\Exception\ConflictUnresolvedException; interface SyncJudgeInterface { /** * Winner is selected based on the field was updated after the loser. */ public const HARD_EVIDENCE_MODE = 'hard'; /** * Winner is selected based on hard evidence if available, otherwise if the object of the winner was updated after the object of the loser. */ public const BEST_EVIDENCE_MODE = 'best'; /** * Winner is selected based on the probability that it was updated after the loser. */ public const FUZZY_EVIDENCE_MODE = 'fuzzy'; public const LEFT_WINNER = 'left'; public const RIGHT_WINNER = 'right'; public const NO_WINNER = 'no'; /** * @param string $mode * * @return InformationChangeRequestDAO * * @throws ConflictUnresolvedException */ public function adjudicate( $mode, InformationChangeRequestDAO $leftChangeRequest, InformationChangeRequestDAO $rightChangeRequest ); }