Symfony\Component\Validator\Constraints\AbstractComparisonValidator::compareValues
Compares the two given values to find if their relationship is valid
Signature
protected function compareValues(mixed
$value1,
mixed
$value2 )
Parameters
$value1
— mixed- The first value to compare
$value2
— mixed- The second value to compare
Returns
- Boolean
- true if the relationship is valid, false otherwise