final class AnyOf implements Schema

Methods

__construct(mixed|Schema ...$set)

No description

firstIsDefault()

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.

mixed
completeDefault(Context $context)

No description

Details

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

No description

Parameters

mixed|Schema ...$set

at line 40
AnyOf firstIsDefault()

No description

Return Value

AnyOf

at line 47
AnyOf nullable()

No description

Return Value

AnyOf

at line 54
AnyOf dynamic()

No description

Return Value

AnyOf

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

Normalization.

Parameters

$value
Context $context

Return Value

mixed

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

Merging.

Parameters

$value
$base

Return Value

mixed

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

Validation and finalization.

Parameters

$value
Context $context

Return Value

mixed

at line 125
mixed completeDefault(Context $context)

No description

Parameters

Context $context

Return Value

mixed

Traits

Strict class for better experience.