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 $attributeGroups = []
|
protected $attributes = [] |
protected $name = NULL |
protected $value = NULL |