struct_entry
Definition
/**
* @template TShape of array<array-key, mixed>
*
* @param ?TShape $value
* @param StructureType<mixed>|Type<TShape> $type
*
* @return ($value is null ? Entry<null> : Entry<TShape>)
*/
struct_entry(string $name, ?array $value, Type $type, ?Metadata $metadata) : Entry