CloneableInstantiable
Methods |
public __construct( $name) Creates an enum case builder.
|
public addAttribute( $attribute) Adds an attribute group.
|
public getNode() : PhpParser Returns the built enum case node.
|
public setDocComment( $docComment) Sets doc comment for the constant.
|
public setValue( $value) Sets the value.
|
Properties |
protected array $attributeGroups = []
|
protected array $attributes = []
|
protected $name = NULL
|
protected ?PhpParser |