public function MethodTag::getContent in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/MethodTag.php \phpDocumentor\Reflection\DocBlock\Tag\MethodTag::getContent()
Gets the content of this tag.
Return value
string
Overrides ReturnTag::getContent
File
- vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Tag/ MethodTag.php, line 39
Class
- MethodTag
- Reflection class for a @method in a Docblock.
Namespace
phpDocumentor\Reflection\DocBlock\TagCode
public function getContent() {
if (null === $this->content) {
$this->content = '';
if ($this->isStatic) {
$this->content .= 'static ';
}
$this->content .= $this->type . " {$this->method_name}({$this->arguments}) " . $this->description;
}
return $this->content;
}