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 $attributeGroups |
protected $constants |
protected $enumCases |
protected $implements |
protected $methods |
protected $name |
protected $scalarType |
protected $uses |