Class Required
States that a value is required. When the value is not present the validator issues an error and stops validation of the value, that is on error no other validator is run.
- ICanBoogie\Validate\Validator\AbstractValidator implements ICanBoogie\Validate\Validator
-
ICanBoogie\Validate\Validator\Required
Methods summary
public
array
|
|
public
boolean
|
Methods inherited from ICanBoogie\Validate\Validator\AbstractValidator
Constants summary
Constants inherited from ICanBoogie\Validate\ValidatorOptions
OPTION_IF,
OPTION_MESSAGE,
OPTION_STOP_ON_ERROR,
OPTION_UNLESS
Constants inherited from ICanBoogie\Validate\Validator
ALIAS,
DEFAULT_MESSAGE,
MESSAGE_ARG_ATTRIBUTE,
MESSAGE_ARG_VALIDATOR,
MESSAGE_ARG_VALUE