CloneableInstantiable
Methods |
public __construct(string $name) Creates a class builder.
|
public addAttribute( $attribute) Adds an attribute group.
|
public addStmt( $stmt) Adds a statement.
|
public extend( $class) Extends a class.
|
public getNode() : PhpParser Returns the built class node.
|
public implement( $interfaces) Implements one or more interfaces.
|
public makeAbstract() Makes the class abstract.
|
public makeFinal() Makes the class final.
|
public makeReadonly() Makes the class readonly.
|
Properties |
protected array $attributeGroups = []
|
protected array $constants = []
|
protected ?PhpParser |
protected int $flags = 0 |
protected array $implements = []
|
protected array $methods = []
|
protected string $name |
protected array $properties = []
|
protected array $uses = []
|