Type
final class Type implements Schema
Methods
__construct(string $type)
No description
mergeDefaults(bool $state = true)
No description
mixed
merge($value, $base)
Merging.
Details
at line 40
__construct(string $type)
No description
at line 48
Type
nullable()
No description
at line 55
Type
mergeDefaults(bool $state = true)
No description
at line 62
Type
dynamic()
No description
at line 69
Type
min(float|null $min)
No description
at line 76
Type
max(float|null $max)
No description
at line 87
Type
items(string|Schema $type = 'mixed')
internal | use arrayOf() or listOf() |
No description
at line 94
Type
pattern(string|null $pattern)
No description
at line 104
mixed
normalize($value, Context $context)
Normalization.
at line 125
mixed
merge($value, $base)
Merging.
at line 150
mixed
complete($value, Context $context)
Validation and finalization.
Traits
SmartObject