Methods |
public
|
__construct(
ClassLike $class,
ReadWritePropertiesExtensionProvider $readWritePropertiesExtensionProvider,
ClassPropertyNode[] $properties,
array<int, PropertyRead|PropertyWrite> $propertyUsages,
array<int, MethodCall> $methodCalls,
)
Creates a Node.
Parameters
$class |
Array of attributes
|
Overrides
|
#
|
public
|
getClass(): ClassLike
|
#
|
public
|
getProperties(): ClassPropertyNode[]
|
#
|
public
|
getPropertyUsages(): array<int, PropertyRead|PropertyWrite>
|
#
|
public
|
getType(): string
Gets the type of the node.
Gets the type of the node.
Returns
Implements
|
#
|
public
|
getSubNodeNames(): string[]
Gets the names of the sub nodes.
Gets the names of the sub nodes.
Returns
Implements
|
#
|
public
|
getUninitializedProperties(
Scope $scope,
string[] $constructors,
ReadWritePropertiesExtension[]|null $extensions = null,
): array{array<string, ClassPropertyNode>, array<array{string, int, ClassPropertyNode}>, array<array{string, int, ClassPropertyNode}>}
|
#
|