Check all inputs according to the validation rules provided
Parameters | |||
---|---|---|---|
array
|
$validations |
The array of the validation rules |
# |
array
|
$data = [] |
The optional data array (if no |
# |
string
|
$type = Validation::TYPE_MULTI |
The return form of the error message: "multi" to return all error messages occurred; "single" to return the first error message occurred |
# |
Returns | |
---|---|
bool
|