protected determineMatches ( Scientist\Matchers\Matcher $matcher, |
||
$matcher | Scientist\Matchers\Matcher | |
$control | ||
$trials | array |
protected function determineMatches(Matcher $matcher, Result $control, array $trials = [])
{
foreach ($trials as $trial) {
if ($matcher->match($control->getValue(), $trial->getValue())) {
$trial->setMatch(true);
}
}
}