Interfaces, Classes and Traits
- TypeNode
Table of Contents
-
$offset
: TypeNode
-
$type
: TypeNode
-
$attributes
: array<string, mixed>
-
__construct()
: mixed
-
__toString()
: string
-
getAttribute()
: mixed
-
hasAttribute()
: bool
-
setAttribute()
: void
$offset
public
TypeNode
$offset
$type
public
TypeNode
$type
$attributes
private
array<string, mixed>
$attributes
= []
__construct()
public
__construct(TypeNode $type, TypeNode $offset) : mixed
Parameters
-
$type
: TypeNode
-
-
$offset
: TypeNode
-
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
—