BaseValidator
abstract class BaseValidator (View source)
Properties
protected | $parameters | The parameters used in the validation |
Methods
using(array ...$args)
Set the parameters to use for validation
bool
fail(string $where, string $reason)
Fail the validation
bool
pass()
Pass the validation
bool
validate()
Validate against the passed parameters.
Details
BaseValidator
using(array ...$args)
Set the parameters to use for validation
bool
fail(string $where, string $reason)
Fail the validation
bool
pass()
Pass the validation
abstract bool
validate()
Validate against the passed parameters.