V::errors()
Validates the given input with all passed rules and returns an array with all error messages.
V::errors(mixed $input, array $rules, array $messages = [ ]): array
Parameters
| Name | Type | Default |
|---|---|---|
| $input * | mixed |
– |
| $rules * | array |
– |
| $messages | array |
[ ] |
Return type
array