public validate ( mixed $value, string $field = null, array $allFields = null ) : boolean | Fuel\Validation\ResultInterface | ||
$value | mixed | Value to validate |
$field | string | Name of the field that is being validated |
$allFields | array | Values of all the other fields being validated |
return | boolean | Fuel\Validation\ResultInterface |