| extends | Declaration | 
|---|
| Methods | ||
|---|---|---|
| 
					
	public
					
					
				 | __construct(string $name) | # | 
| 
					
	public
					
					
				 | setScalarType($scalarType): $this | # | 
| 
					
	public
					
					
				 | implement(Name|string ...$interfaces): $this | # | 
| 
					
	public
					
					
				 | addStmt(Stmt|Builder $stmt): $this | # | 
| 
					
	public
					
					
				 | addAttribute(Attribute|AttributeGroup $attribute): $this | # | 
| 
					
	public
					
					
				 | getNode(): Enum_ | # | 
| Methods inherited from PhpParser\Builder\Declaration | 
|---|
| addStmts(), setDocComment() | 
| Properties | |||
|---|---|---|---|
| 
	protected
					
					
				 |  | $name | # | 
| 
	protected
					
					
				 |  | $scalarType = null | # | 
| 
	protected
					
					
				 |  | $implements = [] | # | 
| 
	protected
					
					
				 |  | $uses = [] | # | 
| 
	protected
					
					
				 |  | $enumCases = [] | # | 
| 
	protected
					
					
				 |  | $constants = [] | # | 
| 
	protected
					
					
				 |  | $methods = [] | # | 
| 
	protected
					
					
				 | AttributeGroup[] | $attributeGroups = [] | # | 
| Properties inherited from PhpParser\Builder\Declaration | 
|---|
| $attributes |