ListShape
extends ArrayShape
in package
FinalYes
Tags
Table of Contents
Properties
- $items : array<string|int, ArrayShapeItem>
Methods
- __construct() : mixed
- __toString() : string
- Returns a rendered output of the Type as it would be used in a DocBlock.
- getItems() : array<string|int, ArrayShapeItem>
- underlyingType() : Type
Properties
$items
private
array<string|int, ArrayShapeItem>
$items
Methods
__construct()
public
__construct(ArrayShapeItem ...$items) : mixed
Parameters
- $items : ArrayShapeItem
__toString()
Returns a rendered output of the Type as it would be used in a DocBlock.
public
__toString() : string
Return values
stringgetItems()
public
getItems() : array<string|int, ArrayShapeItem>
Return values
array<string|int, ArrayShapeItem>underlyingType()
public
underlyingType() : Type