ArrayShapeItem
extends ShapeItem
in package
Table of Contents
Methods
- __construct() : mixed
- __toString() : string
- getKey() : string|null
- getValue() : Type
- isOptional() : bool
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