extends |
ClassLike |
---|
Methods | ||
---|---|---|
public
|
__construct(string|Identifier|null $name, array $subNodes = [], array $attributes = [])
|
# |
public
|
getSubNodeNames(): array
|
# |
public
|
isAbstract(): bool
|
# |
public
|
isFinal(): bool
|
# |
public
|
isReadonly(): bool
|
# |
public
|
isAnonymous(): bool
|
# |
public
|
getType(): string
|
# |
Methods inherited from PhpParser\Node\Stmt\ClassLike |
---|
getTraitUses(), getConstants(), getProperties(), getProperty(), getMethods(), getMethod() |
Constants | ||
---|---|---|
public
|
MODIFIER_PUBLIC = 1
|
# |
public
|
MODIFIER_PROTECTED = 2
|
# |
public
|
MODIFIER_PRIVATE = 4
|
# |
public
|
MODIFIER_STATIC = 8
|
# |
public
|
MODIFIER_ABSTRACT = 16
|
# |
public
|
MODIFIER_FINAL = 32
|
# |
public
|
MODIFIER_READONLY = 64
|
# |
public
|
VISIBILITY_MODIFIER_MASK = 7
|
# |
Properties | |||
---|---|---|---|
public
|
int
|
$flags
|
# |
public
|
null|Name
|
$extends
|
# |
public
|
Name[]
|
$implements
|
# |
Properties inherited from PhpParser\Node\Stmt\ClassLike |
---|
$name, $stmts, $attrGroups, $namespacedName |
Properties inherited from PhpParser\NodeAbstract |
---|
$attributes |