Type
final class Type implements Schema
Methods
Details
at line 34
__construct(string $type)
No description
at line 42
Type
nullable()
No description
at line 50
Type
mergeDefaults(bool $state = true)
deprecated
deprecated
No description
at line 60
Type
mergeMode(MergeMode $mode)
No description
at line 67
Type
dynamic()
No description
at line 74
Type
min(float|null $min)
No description
at line 81
Type
max(float|null $max)
No description
at line 91
Type
items(Schema $valueType = 'mixed', Schema|null $keyType = null)
internal | use arrayOf() or listOf() |
No description
at line 103
Type
pattern(string|null $pattern)
No description
at line 113
mixed
normalize(mixed $value, Context $context)
Normalization.
at line 136
mixed
merge(mixed $value, mixed $base)
Merging.
at line 162
mixed
complete(mixed $value, Context $context)
Validation and finalization.