Property | Type | Description | |
---|---|---|---|
$extends | Name of extended class | ||
$flags | Type | ||
$implements | Names of implemented interfaces | ||
$type |
Property | Type | Description | |
---|---|---|---|
$specialNames |
Method | Description | |
---|---|---|
__construct ( string | null $name, array $subNodes = [], array $attributes = [] ) | Constructs a class node. | |
getSubNodeNames ( ) | ||
isAbstract ( ) | ||
isAnonymous ( ) | ||
isFinal ( ) | ||
verifyModifier ( $a, $b ) |
public __construct ( string | null $name, array $subNodes = [], array $attributes = [] ) | ||
$name | string | null | Name |
$subNodes | array | Array of the following optional subnodes: 'flags' => 0 : Flags 'extends' => null : Name of extended class 'implements' => array(): Names of implemented interfaces 'stmts' => array(): Statements |
$attributes | array | Additional attributes |