extends |
Stmt |
---|
Methods | ||
---|---|---|
public
|
__construct(UseItem[] $uses, Stmt\Use_::TYPE_* $type = self::TYPE_NORMAL, array<string, mixed> $attributes = [])
|
# |
public
|
getSubNodeNames(): array
|
# |
public
|
getType(): string
|
# |
Constants | ||
---|---|---|
public
|
TYPE_UNKNOWN = 0
|
# |
public
|
TYPE_NORMAL = 1
|
# |
public
|
TYPE_FUNCTION = 2
|
# |
public
|
TYPE_CONSTANT = 3
|
# |
Properties | |||
---|---|---|---|
public
|
self::TYPE_*
|
$type
|
# |
public
|
UseItem[]
|
$uses
|
# |
Properties inherited from PhpParser\NodeAbstract |
---|
$attributes |