V::value()
Validate a single value against a set of rules, using all registered validators
Parameters
Name | Type | Default |
---|---|---|
$value * | mixed |
– |
$rules * | array |
– |
$messages | array |
[ ] |
$fail | bool |
true |
Return type
array
|bool