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
|
|
$name
|
# |
protected
|
|
$uses = []
|
# |
protected
|
|
$properties = []
|
# |
protected
|
|
$methods = []
|
# |
protected
|
AttributeGroup[]
|
$attributeGroups = []
|
# |
Properties inherited from PhpParser\Builder\Declaration |
---|
$attributes |