Class FunctionDeclarationNode
A function declaration.
- Pharborist\Node implements Pharborist\NodeInterface
-
Pharborist\ParentNode implements Pharborist\ParentNodeInterface
-
Pharborist\StatementNode
-
Pharborist\Functions\FunctionDeclarationNode uses Pharborist\Namespaces\IdentifierNameTrait, Pharborist\Functions\FunctionTrait
public static
|
#
create(
Create a function declaration. |
public
|
|
public
|
|
public
|
#
cloneAsMethodOf(
Creates a class method from this function and add it to the given class definition. |
addCommentAbove(),
getLineCount(),
toComment()
|
__clone(),
__toString(),
acceptVisitor(),
addChild(),
addChildren(),
append(),
childCount(),
children(),
clear(),
find(),
firstChild(),
firstToken(),
getSourcePosition(),
getText(),
getTree(),
has(),
isDescendant(),
isEmpty(),
lastChild(),
lastToken(),
mergeNode(),
prepend(),
walk()
|
getName(),
getNamespace(),
inNamespace()
|
getReference(),
setReference()
|
getDocComment(),
getIndent(),
setDocComment()
|
getCloseParen(),
getOpenParen()
|