Inheritance: extends Constraint
Exemplo n.º 1
0
 private function replaceValue(Comparison $comparison)
 {
     $value = $comparison->getValue();
     $isArray = is_array($value);
     $values = (array) $value;
     foreach ($values as &$value) {
         $value = $this->uuidResolver->resolve($value);
     }
     if (false === $isArray) {
         $comparison->replaceValue(reset($values));
         return;
     }
     $comparison->replaceValue($values);
 }
Exemplo n.º 2
0
 private function getComparatorSql(Comparison $comparison)
 {
     return $this->comparatorMap[$comparison->getComparator()];
 }