Class AnyOf
Validates successfully if it validates successfully against at least one schema defined in anyOf attribute
- Phramework\Validate\BaseValidator
-
Phramework\Validate\AnyOf
Direct known subclasses
Namespace: Phramework\Validate
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 0.4.0
See: http://json-schema.org/latest/json-schema-validation.html#anchor85
Located at AnyOf.php
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 0.4.0
See: http://json-schema.org/latest/json-schema-validation.html#anchor85
Located at AnyOf.php
Methods summary
public
|
|
public
|
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
null
|
$type
Overwrite base class type |
#
null
|
protected static
string[]
|
$typeAttributes
Validator's attributes Can be overwritten |
#
[
'anyOf'
]
|
protected
integer|null
|
$requiredCountOfAnyOf
When not null, a specific count of passed anyOf validations will be used in validate method. This internal parameter is useful for oneOf, and allOf classes |
#
null
|
protected
string
|
$anyOfProperty
|
#
'anyOf'
|