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 39
AnyOf firstIsDefault()

No description

Return Value

AnyOf

at line 46
AnyOf nullable()

No description

Return Value

AnyOf

at line 53
AnyOf dynamic()

No description

Return Value

AnyOf

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

Normalization.

Parameters

$value
Context $context

Return Value

mixed

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

Merging.

Parameters

$value
$base

Return Value

mixed

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

Validation and finalization.

Parameters

$value
Context $context

Return Value

mixed

at line 121
mixed completeDefault(Context $context)

No description

Parameters

Context $context

Return Value

mixed

Traits

Strict class for better experience.