CloneableInstantiable
Methods |
public __construct(string $name) Creates an enum builder.
|
public addAttribute( $attribute) Adds an attribute group.
|
public addStmt( $stmt) Adds a statement.
|
public getNode() : PhpParser Returns the built class node.
|
public implement( $interfaces) Implements one or more interfaces.
|
public setScalarType( $scalarType) Sets the scalar type.
|
Properties |
protected array $attributeGroups = []
|
protected array $constants = []
|
protected array $enumCases = []
|
protected array $implements = []
|
protected array $methods = []
|
protected string $name |
protected ?PhpParser |
protected array $uses = []
|