ValidateType Interface Reference
Detailed Description
ValidateType defines the interface for all validator classes.
Definition at line 18 of file ValidateType.php.
Inheritance diagram for ValidateType:
Public Member Functions | |
validate ($value, $options=null, $context=null) | |
Member Function Documentation
◆ validate()
validate | ( | $value, | |
$options = null , |
|||
$context = null |
|||
) |
Validate a given value.
The options format is type specific.
- Parameters
-
$value The value to validate $options Optional implementation specific options passed as an associative array $context An associative array describing the validation context (optional)
- Returns
- Boolean
Implemented in Filter, Image, Date, Unique, RegExp, and Required.