StructureElement
Read onlyYes
FinalYes
TOptional mirrors the runtime flag into the type so analyzers can mark the shape key optional without reading the call expression.
Tags
Properties
Methods
- __construct() : mixed
Properties
$name
public
int|string
$name
$optional
public
bool
$optional
= false
$type
public
Type
$type
Methods
__construct()
public
__construct(int|string $name, Type<string|int, T> $type[, TOptional $optional = false ]) : mixed
Parameters
- $name : int|string
- $type : Type<string|int, T>
- $optional : TOptional = false