Valdi\Validator\AbstractArray¶
-
class
Valdi\Validator\
AbstractArray
¶ - Validator for array data, be it maps or lists.
-
property
$invalidDetails
¶ Holds the invalid values.
-
isValidArray
()¶ Checks whether the given values are of the expected array data.
Parameters: - $values (mixed) – the potential array values to check
- $validator (Validator) – the validator to check with
- $rules (array) – the rules which the array data must fulfill
Returns: boolean $ true if all the $values are valid, else false with the invalid details set
-
isValid
()¶
-
property