ICanBoogie
  • Documentation
  • API Reference
  • Validate master
Namespaces
  • ICanBoogie
    • Validate
      • Reader
      • Validation
      • Validator
      • ValidatorProvider
Classes
  • Context
  • Message
  • Render
  • Validation
  • ValidationErrors
Interfaces
  • Reader
  • Validator
  • ValidatorOptions
  • ValidatorProvider
Exceptions
  • ParameterIsMissing
  • ValidationFailed

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

Namespace: ICanBoogie\Validate
Located at ValidatorOptions.php

Constants summary

OPTION_MESSAGE : string

A custom error message, which overrides the validator default message.

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.

The validator is used only if the callable defined by this option returns true.

'if'
OPTION_UNLESS : string

The validator is skipped if the callable defined by this option returns true.

The validator is skipped if the callable defined by this option returns true.

'unless'
OPTION_STOP_ON_ERROR : string

If true, the validation of a value stops after an error.

If true, the validation of a value stops after an error.

'stop_on_error'
Validate master – Check on GitHub – API documentation generated by ApiGen