Methods summary
public static
Pharborist\DocCommentNode
|
#
create( string $comment )
Creates a PHPDoc comment.
Creates a PHPDoc comment.
Parameters
- $comment
- The comment body without asterisks, but formatted into lines.
Returns
Overrides
|
public
|
#
setIndent( string $indent )
Set indent for document comment.
Set indent for document comment.
Parameters
- $indent
- Whitespace to use as indent.
Returns
$this
|
public
|
#
setText( string $text )
Parameters
Returns
$this
Overrides
|
public
phpDocumentor\Reflection\DocBlock
|
#
getDocBlock( )
Return the parsed doc comment.
Return the parsed doc comment.
Returns
phpDocumentor\Reflection\DocBlock Parsed doc comment.
|
public
string
|
#
getShortDescription( )
Get the opening line or also known as short description.
Get the opening line or also known as short description.
Returns
string Short description.
|
public
string.
|
#
getLongDescription( )
Get the full description or also known as long description.
Get the full description or also known as long description.
Returns
string. Long description.
|
public
phpDocumentor\Reflection\DocBlock\Tag\ReturnTag
|
#
getReturn( )
Get the return tag.
Returns
phpDocumentor\Reflection\DocBlock\Tag\ReturnTag Return tag.
|
public
phpDocumentor\Reflection\DocBlock\Tag\ParamTag
|
#
getParameters( )
Get the parameter tags.
Returns
phpDocumentor\Reflection\DocBlock\Tag\ParamTag Array of parameter tags.
|
public
phpDocumentor\Reflection\DocBlock\Tag\ParamTag
|
#
getParametersByName( )
Get the parameter tags by name.
Get the parameter tags by name.
Returns
phpDocumentor\Reflection\DocBlock\Tag\ParamTag Associative array of parameter names to parameters.
|
public
null|phpDocumentor\Reflection\DocBlock\Tag\ParamTag
|
#
getParameter( $parameterName )
Get a parameter tag.
Parameters
- $parameterName
- of parameter to get tag for.
Returns
null|phpDocumentor\Reflection\DocBlock\Tag\ParamTag The tag for parameter.
|