Valdi\Validator\AbstractComparator¶
-
class
Valdi\Validator\AbstractComparator¶ - Validator for comparing values.
-
property
$amountOfParameters¶ Holds the amount of parameters.
-
property
$type¶ Holds the type of the validator.
-
isValidComparison()¶ Performs the comparison.
Parameters: - $value (mixed) – the first value to compare
- $parameters (mixed) – the values to compare
Returns: boolean $ true if value compares to the parameters
-
isAllNumeric()¶ Checks whether all given parameters are numeric.
Returns: boolean $ true if all values are numeric
-
isValid()¶
-
getInvalidDetails()¶
-
property