Class UnsignedIntegerValidator
UnsignedInteger validator
- Phramework\Validate\BaseValidator
-
Phramework\Validate\NumberValidator
-
Phramework\Validate\IntegerValidator
-
Phramework\Validate\UnsignedIntegerValidator
Namespace: Phramework\Validate
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 0.0.0
See:
Uses:
Located at UnsignedIntegerValidator.php
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\BaseValidator
__get(),
__set(),
createFromArray(),
createFromJSON(),
createFromObject(),
createFromObjectForAdditional(),
getType(),
getTypeAttributes(),
parse(),
parseStatic(),
registerValidator(),
setDefault(),
setDescription(),
setEnum(),
setTitle(),
toArray(),
toJSON(),
toObject(),
validateCommon(),
validateEnum()
Properties summary
protected static
string
|
$type
Overwrite base class type |
#
'unsignedinteger'
|