class AnyOf implements Schema

Traits

Strict class for better experience.

Methods

__construct(mixed|Schema ...$set)

No description

nullable()

No description

dynamic()

No description

mixed
normalize($value, Context $context)

Normalization.

mixed
merge($value, $base)

Merging.

mixed
complete($value, Context $context)

Validation and finalization.

Details

at line 30
__construct(mixed|Schema ...$set)

Parameters

mixed|Schema ...$set

at line 36
AnyOf nullable()

Return Value

AnyOf

at line 43
AnyOf dynamic()

Return Value

AnyOf

at line 53
mixed normalize($value, Context $context)

Normalization.

Parameters

$value
Context $context

Return Value

mixed

at line 59
mixed merge($value, $base)

Merging.

Parameters

$value
$base

Return Value

mixed

at line 69
mixed complete($value, Context $context)

Validation and finalization.

Parameters

$value
Context $context

Return Value

mixed