Class UnsignedIntegerValidator
UnsignedInteger validator
- Phramework\Validate\BaseValidator
- Phramework\Validate\NumberValidator
- Phramework\Validate\IntegerValidator
- Phramework\Validate\UnsignedIntegerValidator
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 0.0.0
See:
http://json-schema.org/latest/json-schema-validation.html#anchor13 5.1. Validation keywords for numeric instances (number and integer)
Uses:
\Phramework\Validate\Integer As base implementation's rules to validate that the value is a number and then applies additional rules
Located at UnsignedIntegerValidator.php
Methods summary
public
|
#
__construct( integer|null $minimum = 0, integer|null $maximum = null, boolean|null $exclusiveMinimum = null, boolean|null $exclusiveMaximum = null, integer $multipleOf = 1 )
|
Methods inherited from Phramework\Validate\IntegerValidator
Methods inherited from Phramework\Validate\NumberValidator
Methods inherited from Phramework\Validate\BaseValidator
__get()
,
__set()
,
createFromArray()
,
createFromJSON()
,
createFromObject()
,
createFromObjectForAdditional()
,
getType()
,
getTypeAttributes()
,
parse()
,
parseStatic()
,
registerValidator()
,
runValidateCallback()
,
setDefault()
,
setDescription()
,
setEnum()
,
setNot()
,
setTitle()
,
setValidateCallback()
,
toArray()
,
toJSON()
,
toObject()
,
validateCommon()
,
validateEnum()
,
validateNot()
Properties summary
protected static
string
|
$type
Overwrite base class type |
#
'unsignedinteger'
|