Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PhpParser
Node
setDocComment
PhpParser\Node::setDocComment PHP Method
Node Interface Documentation
Show file
Open project: nikic/php-parser
setDocComment()
public
method
This will either replace an existing doc comment or add it to the comments array.
public
setDocComment
(
Comment\Doc
$docComment
)
$docComment
Comment\Doc
Doc comment to set
public function setDocComment(Comment\Doc $docComment);
Node
getAttribute
getAttributes
getDocComment
getLine
getSubNodeNames
getType
hasAttribute
setAttribute
setDocComment
setLine