/opt/cpanel/ea-wappspector/vendor/nikic/php-parser/lib/PhpParser/Builder
NameSizeModeActions
ClassConst.php38750644editdlrm
Class_.php41710644editdlrm
Declaration.php12610644editdlrm
EnumCase.php20040644editdlrm
Enum_.php32580644editdlrm
FunctionLike.php18060644editdlrm
Function_.php16910644editdlrm
Interface_.php26280644editdlrm
Method.php37560644editdlrm
Namespace_.php10730644editdlrm
Param.php44660644editdlrm
Property.php57470644editdlrm
TraitUse.php16540644editdlrm
TraitUseAdaptation.php42660644editdlrm
Trait_.php23560644editdlrm
Use_.php12770644editdlrm
Edit: /opt/cpanel/ea-wappspector/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php (1261B)
*/ protected array $attributes = []; /** * Adds a statement. * * @param PhpParser\Node\Stmt|PhpParser\Builder $stmt The statement to add * * @return $this The builder instance (for fluid interface) */ abstract public function addStmt($stmt); /** * Adds multiple statements. * * @param (PhpParser\Node\Stmt|PhpParser\Builder)[] $stmts The statements to add * * @return $this The builder instance (for fluid interface) */ public function addStmts(array $stmts) { foreach ($stmts as $stmt) { $this->addStmt($stmt); } return $this; } /** * Sets doc comment for the declaration. * * @param PhpParser\Comment\Doc|string $docComment Doc comment to set * * @return $this The builder instance (for fluid interface) */ public function setDocComment($docComment) { $this->attributes['comments'] = [ BuilderHelpers::normalizeDocComment($docComment) ]; return $this; } }