Class ClassMethodCallNode
A call to a static class method, e.g. MyClass::classMethod()
-
Pharborist\Node
implements
Pharborist\NodeInterface
-
Pharborist\ParentNode
implements
Pharborist\ParentNodeInterface
-
Pharborist\Functions\CallNode
uses
Pharborist\Functions\ArgumentTrait,
Pharborist\ParenTrait
-
Pharborist\Objects\ClassMethodCallNode
implements
Pharborist\Variables\VariableExpressionNode
Methods summary
public
Pharborist\Namespaces\NameNode |Pharborist\Node
|
|
public
|
|
public
Pharborist\Node
|
|
public
|
|
public static
static
|
#
create( Pharborist\Node |string $class_name, string $method_name )
Creates a method call on a class with an empty argument list.
Creates a method call on a class with an empty argument list.
Parameters
- $class_name
- The class node which is typically NameNode of class.
- $method_name
- The name of the called method.
Returns
static
|
Methods inherited from Pharborist\ParentNode
__clone(),
__toString(),
acceptVisitor(),
addChild(),
addChildren(),
append(),
childCount(),
children(),
clear(),
find(),
firstChild(),
firstToken(),
getSourcePosition(),
getText(),
getTree(),
has(),
isDescendant(),
isEmpty(),
lastChild(),
lastToken(),
mergeNode(),
prepend(),
walk()
|
Methods inherited from Pharborist\Node
after(),
appendTo(),
before(),
closest(),
fromValue(),
furthest(),
getLogicalBlock(),
getRoot(),
getStatement(),
hasRoot(),
index(),
insertAfter(),
insertBefore(),
is(),
isAllOf(),
isAnyOf(),
next(),
nextAll(),
nextToken(),
nextUntil(),
parent(),
parents(),
parentsUntil(),
prependTo(),
previous(),
previousAll(),
previousToken(),
previousUntil(),
remove(),
replaceAll(),
replaceWith(),
siblings(),
sortKey(),
swapWith()
|