Interfaces, Classes and Traits
- TypeNode
Table of Contents
-
KIND_ARRAY
= 'array'
-
KIND_LIST
= 'list'
-
$items
: array<string|int, ArrayShapeItemNode>
-
$kind
: self::KIND_*
-
$sealed
: bool
-
$attributes
: array<string, mixed>
-
__construct()
: mixed
-
__toString()
: string
-
getAttribute()
: mixed
-
hasAttribute()
: bool
-
setAttribute()
: void
KIND_ARRAY
public
mixed
KIND_ARRAY
= 'array'
KIND_LIST
public
mixed
KIND_LIST
= 'list'
$items
public
array<string|int, ArrayShapeItemNode>
$items
$kind
public
self::KIND_*
$kind
$sealed
public
bool
$sealed
$attributes
private
array<string, mixed>
$attributes
= []
__construct()
public
__construct(array<string|int, ArrayShapeItemNode> $items[, bool $sealed = true ][, self::KIND_* $kind = self::KIND_ARRAY ]) : mixed
Parameters
-
$items
: array<string|int, ArrayShapeItemNode>
-
-
$sealed
: bool
= true
-
-
$kind
: self::KIND_*
= self::KIND_ARRAY
-
Return values
mixed
—
__toString()
public
__toString() : string
Return values
string
—
getAttribute()
public
getAttribute(string $key) : mixed
Parameters
-
$key
: string
-
Return values
mixed
—
hasAttribute()
public
hasAttribute(string $key) : bool
Parameters
-
$key
: string
-
Return values
bool
—
setAttribute()
public
setAttribute(string $key, mixed $value) : void
Parameters
-
$key
: string
-
-
$value
: mixed
-
Return values
void
—