extends |
Declaration |
|---|
| Methods | ||
|---|---|---|
public
|
__construct(string $name)
|
# |
public
|
addStmt(Stmt|Builder $stmt): $this
|
# |
public
|
addAttribute(Attribute|AttributeGroup $attribute): $this
|
# |
public
|
getNode(): Trait_
|
# |
| Methods inherited from PhpParser\Builder\Declaration |
|---|
addStmts(), setDocComment() |
| Properties | |||
|---|---|---|---|
protected
|
string
|
$name
|
# |
protected
|
list<TraitUse>
|
$uses = []
|
# |
protected
|
list<ClassConst>
|
$constants = []
|
# |
protected
|
list<Property>
|
$properties = []
|
# |
protected
|
list<ClassMethod>
|
$methods = []
|
# |
protected
|
list<AttributeGroup>
|
$attributeGroups = []
|
# |
| Properties inherited from PhpParser\Builder\Declaration |
|---|
$attributes |