Property | Type | Description | |
---|---|---|---|
$attributes |
Method | Description | |
---|---|---|
addStmt ( $stmt ) | ||
addStmts ( array $stmts ) | Adds multiple statements. | |
setDocComment ( PhpParser\Comment\Doc | string $docComment ) | Sets doc comment for the declaration. |
public setDocComment ( PhpParser\Comment\Doc | string $docComment ) | ||
$docComment | PhpParser\Comment\Doc | string | Doc comment to set |