Property | Type | Description | |
---|---|---|---|
$byRef | Whether to return by reference | ||
$flags | Flags | ||
$name | Name | ||
$params | Parameters | ||
$returnType | Return type | ||
$stmts | Statements | ||
$type |
Method | Description | |
---|---|---|
__construct ( string $name, array $subNodes = [], array $attributes = [] ) | Constructs a class method node. | |
getParams ( ) | ||
getReturnType ( ) | ||
getStmts ( ) | ||
getSubNodeNames ( ) | ||
isAbstract ( ) | ||
isFinal ( ) | ||
isPrivate ( ) | ||
isProtected ( ) | ||
isPublic ( ) | ||
isStatic ( ) | ||
returnsByRef ( ) |
public __construct ( string $name, array $subNodes = [], array $attributes = [] ) | ||
$name | string | Name |
$subNodes | array | Array of the following optional subnodes: 'flags => MODIFIER_PUBLIC: Flags 'byRef' => false : Whether to return by reference 'params' => array() : Parameters 'returnType' => null : Return type 'stmts' => array() : Statements |
$attributes | array | Additional attributes |