Methods |
public
|
__construct(
int $flags,
PropertyProperty[] $props,
array $attributes = [],
null|string|Identifier|Name|ComplexType $type = null,
AttributeGroup[] $attrGroups = [],
)
Constructs a class property list node.
Constructs a class property list node.
Parameters
$flags |
Modifiers
|
$props |
Properties
|
$attributes |
Additional attributes
|
$type |
Type declaration
|
$attrGroups |
PHP attribute groups
|
Overrides
|
#
|
public
|
getSubNodeNames(): array
Gets the names of the sub nodes.
Gets the names of the sub nodes.
Returns
Implements
|
#
|
public
|
isPublic(): bool
Whether the property is explicitly or implicitly public.
Whether the property is explicitly or implicitly public.
|
#
|
public
|
isProtected(): bool
Whether the property is protected.
Whether the property is protected.
|
#
|
public
|
isPrivate(): bool
Whether the property is private.
Whether the property is private.
|
#
|
public
|
isStatic(): bool
Whether the property is static.
Whether the property is static.
|
#
|
public
|
isReadonly(): bool
Whether the property is readonly.
Whether the property is readonly.
|
#
|
public
|
getType(): string
Gets the type of the node.
Gets the type of the node.
Returns
Implements
|
#
|