final class AnyOf implements Schema

Methods

__construct(mixed ...$set)

No description

firstIsDefault()

No description

nullable()

No description

dynamic()

No description

mixed
normalize(mixed $value, Context $context)

Normalization.

mixed
merge(mixed $value, mixed $base)

Merging.

mixed
complete(mixed $value, Context $context)

Validation and finalization.

mixed
completeDefault(Context $context)

No description

Details

at line 25
__construct(mixed ...$set)

No description

Parameters

mixed ...$set

at line 35
AnyOf firstIsDefault()

No description

Return Value

AnyOf

at line 42
AnyOf nullable()

No description

Return Value

AnyOf

at line 49
AnyOf dynamic()

No description

Return Value

AnyOf

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

Normalization.

Parameters

mixed $value
Context $context

Return Value

mixed

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

Merging.

Parameters

mixed $value
mixed $base

Return Value

mixed

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

Validation and finalization.

Parameters

mixed $value
Context $context

Return Value

mixed

at line 126
mixed completeDefault(Context $context)

No description

Parameters

Context $context

Return Value

mixed

Traits