function AbstractComparisonValidator::compareValues
Compares the two given values to find if their relationship is valid.
1 call to AbstractComparisonValidator::compareValues()
- AbstractComparisonValidator::validate in vendor/
symfony/ validator/ Constraints/ AbstractComparisonValidator.php - Checks if the passed value is valid.
9 methods override AbstractComparisonValidator::compareValues()
- DivisibleByValidator::compareValues in vendor/
symfony/ validator/ Constraints/ DivisibleByValidator.php - Compares the two given values to find if their relationship is valid.
- EqualToValidator::compareValues in vendor/
symfony/ validator/ Constraints/ EqualToValidator.php - Compares the two given values to find if their relationship is valid.
- GreaterThanOrEqualValidator::compareValues in vendor/
symfony/ validator/ Constraints/ GreaterThanOrEqualValidator.php - Compares the two given values to find if their relationship is valid.
- GreaterThanValidator::compareValues in vendor/
symfony/ validator/ Constraints/ GreaterThanValidator.php - Compares the two given values to find if their relationship is valid.
- IdenticalToValidator::compareValues in vendor/
symfony/ validator/ Constraints/ IdenticalToValidator.php - Compares the two given values to find if their relationship is valid.
File
-
vendor/
symfony/ validator/ Constraints/ AbstractComparisonValidator.php, line 95
Class
- AbstractComparisonValidator
- Provides a base class for the validation of property comparisons.
Namespace
Symfony\Component\Validator\ConstraintsCode
protected abstract function compareValues(mixed $value1, mixed $value2) : bool;