Structure
final class Structure implements Schema
Methods
__construct(array $shape)
No description
otherItems(Schema $type = 'mixed')
No description
skipDefaults(bool $state = true)
No description
array
getShape()
No description
mixed
merge(mixed $value, mixed $base)
Merging.
mixed
Details
at line 36
__construct(array $shape)
No description
at line 45
Structure
default(mixed $value)
No description
at line 51
Structure
min(int|null $min)
No description
at line 58
Structure
max(int|null $max)
No description
at line 65
Structure
otherItems(Schema $type = 'mixed')
No description
at line 72
Structure
skipDefaults(bool $state = true)
No description
at line 79
Structure
extend(array|self $shape)
No description
at line 86
array
getShape()
No description
at line 95
mixed
normalize(mixed $value, Context $context)
Normalization.
at line 117
mixed
merge(mixed $value, mixed $base)
Merging.
at line 144
mixed
complete(mixed $value, Context $context)
Validation and finalization.
at line 196
mixed
completeDefault(Context $context)
No description