ObjectShape
in package
implements
PseudoType
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $items : array<string|int, ObjectShapeItem>
Methods
- __construct() : mixed
- __toString() : string
- Returns a rendered output of the Type as it would be used in a DocBlock.
- getItems() : array<string|int, ObjectShapeItem>
- underlyingType() : Type
Properties
$items
private
array<string|int, ObjectShapeItem>
$items
Methods
__construct()
public
__construct(ObjectShapeItem ...$items) : mixed
Parameters
- $items : ObjectShapeItem
__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, ObjectShapeItem>
Return values
array<string|int, ObjectShapeItem>underlyingType()
public
underlyingType() : Type