Type Resolver

ArrayShapeItem extends ShapeItem
in package

Table of Contents

Properties

$key  : string|null
$optional  : bool
$value  : Type

Methods

__construct()  : mixed
__toString()  : string
getKey()  : string|null
getValue()  : Type
isOptional()  : bool

Properties

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
string

getKey()

public getKey() : string|null
Return values
string|null

isOptional()

public isOptional() : bool
Return values
bool

        
On this page

Search results