Interface ValidatorOptions
Validator options.
Direct known implementers
ICanBoogie\Validate\Validation,
ICanBoogie\Validate\Validator
Indirect known implementers
ICanBoogie\Validate\Validator\AbstractComparisonValidator,
ICanBoogie\Validate\Validator\AbstractRangeValidator,
ICanBoogie\Validate\Validator\IsFalse,
ICanBoogie\Validate\Validator\IsNull,
ICanBoogie\Validate\Validator\IsTrue,
ICanBoogie\Validate\Validator\JSON,
ICanBoogie\Validate\Validator\Max,
ICanBoogie\Validate\Validator\MaxLength,
ICanBoogie\Validate\Validator\Min,
ICanBoogie\Validate\Validator\MinLength,
ICanBoogie\Validate\Validator\NotBetween,
ICanBoogie\Validate\Validator\NotBetweenLength,
ICanBoogie\Validate\Validator\AbstractValidator,
ICanBoogie\Validate\Validator\NotBlank,
ICanBoogie\Validate\Validator\NotEqual,
ICanBoogie\Validate\Validator\NotIdentical,
ICanBoogie\Validate\Validator\NotNull,
ICanBoogie\Validate\Validator\Regex,
ICanBoogie\Validate\Validator\Required,
ICanBoogie\Validate\Validator\TimeZone,
ICanBoogie\Validate\Validator\Type,
ICanBoogie\Validate\Validator\URL,
ICanBoogie\Validate\Validator\Between,
ICanBoogie\Validate\Validator\BetweenLength,
ICanBoogie\Validate\Validator\Blank,
ICanBoogie\Validate\Validator\Boolean,
ICanBoogie\Validate\Validator\Email,
ICanBoogie\Validate\Validator\Equal,
ICanBoogie\Validate\Validator\Identical
Constants summary
OPTION_MESSAGE
: string
A custom error message, which overrides the validator default message.
'message'
OPTION_IF
: string
The validator is used only if the callable defined by this option returns true.
'if'