Maslosoft Mangan API
Class RangeValidator
RangeValidator
- Maslosoft\Mangan\Validators\BuiltIn\RangeValidator implements Maslosoft\Mangan\Interfaces\Validators\ValidatorInterface uses Maslosoft\Mangan\Validators\Traits\AllowEmpty, Maslosoft\Mangan\Validators\Traits\Messages, Maslosoft\Mangan\Validators\Traits\Strict, Maslosoft\Mangan\Validators\Traits\OnScenario, Maslosoft\Mangan\Validators\Traits\Safe, Maslosoft\Mangan\Validators\Traits\SkipOnError
Namespace: Maslosoft\Mangan\Validators\BuiltIn
Author: Piotr Maselkowski
Located at Validators/BuiltIn/RangeValidator.php
Author: Piotr Maselkowski
Located at Validators/BuiltIn/RangeValidator.php
Methods summary
public
|
Methods inherited from Maslosoft\Mangan\Interfaces\Validators\ValidatorInterface
Methods used from Maslosoft\Mangan\Validators\Traits\Messages
Constants summary
Constants inherited from Maslosoft\Mangan\Interfaces\Validators\ValidatorInterface
Properties summary
public
array
|
$range
list of valid values that the attribute value should be among |
|
public
boolean
|
$not
whether to invert the validation logic. Defaults to false. If set to true,
the attribute value should NOT be among the list of values defined via |
#
false
|
public
string
|
$msgIsNot
|
#
''
|
public
string
|
$msgIs
|
#
''
|
Properties used from Maslosoft\Mangan\Validators\Traits\AllowEmpty
Properties used from Maslosoft\Mangan\Validators\Traits\Messages
Properties used from Maslosoft\Mangan\Validators\Traits\Strict
Properties used from Maslosoft\Mangan\Validators\Traits\OnScenario
Properties used from Maslosoft\Mangan\Validators\Traits\Safe
Properties used from Maslosoft\Mangan\Validators\Traits\SkipOnError
API documentation generated by ApiGen