validator_interface
interface validator_interface
Contract for request validation rules.
Methods
bool
validate(array $data)
Validate the given data.
array
get_errors()
Get the validation errors.
Details
at line 38
bool
validate(array $data)
Validate the given data.
at line 45
array
get_errors()
Get the validation errors.