implements |
TypeNode |
|---|---|
uses |
NodeAttributes |
| Methods | ||
|---|---|---|
public
static
|
createSealed(ArrayShapeItemNode[] $items, self::KIND_* $kind = self::KIND_ARRAY): self
|
# |
public
static
|
createUnsealed(
ArrayShapeItemNode[] $items,
?ArrayShapeUnsealedTypeNode $unsealedType,
self::KIND_* $kind = self::KIND_ARRAY,
): self
|
# |
public
|
__toString(): string
|
# |
| Methods used from PHPStan\PhpDocParser\Ast\NodeAttributes |
|---|
setAttribute(), hasAttribute(), getAttribute() |
| Constants | ||
|---|---|---|
public
|
KIND_ARRAY = 'array'
|
# |
public
|
KIND_LIST = 'list'
|
# |
public
|
KIND_NON_EMPTY_ARRAY = 'non-empty-array'
|
# |
public
|
KIND_NON_EMPTY_LIST = 'non-empty-list'
|
# |
| Properties | |||
|---|---|---|---|
public
|
ArrayShapeItemNode[]
|
$items
|
# |
public
|
bool
|
$sealed
|
# |
public
|
self::KIND_*
|
$kind
|
# |
public
|
?ArrayShapeUnsealedTypeNode
|
$unsealedType = null
|
# |