Type
class Type implements Schema
Methods
__construct(string $type)
No description
mergeDefaults(bool $state = true)
No description
mixed
merge($value, $base)
Merging.
Details
at line 43
__construct(string $type)
at line 51
Type
nullable()
at line 58
Type
mergeDefaults(bool $state = true)
at line 65
Type
dynamic()
at line 72
Type
min(float|null $min)
at line 79
Type
max(float|null $max)
at line 90
Type
items($valueType = 'mixed', $keyType = null)
at line 102
Type
pattern(string|null $pattern)
at line 112
mixed
normalize($value, Context $context)
Normalization.
at line 140
mixed
merge($value, $base)
Merging.
at line 165
mixed
complete($value, Context $context)
Validation and finalization.
Traits
Strict class for better experience.