ListShapeItem
extends ArrayShapeItem
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- __toString() : string
- getKey() : string|null
- getValue() : Type
- isOptional() : bool
Properties
$key
private
string|null
$key
$optional
private
bool
$optional
$value
private
Type
$value
Methods
__construct()
public
__construct(string|null $key, Type|null $value, bool $optional) : mixed
Parameters
- $key : string|null
- $value : Type|null
- $optional : bool
__toString()
public
__toString() : string
Return values
stringgetKey()
public
getKey() : string|null
Return values
string|nullgetValue()
public
getValue() : Type
Return values
TypeisOptional()
public
isOptional() : bool