public function Description::setDocBlock in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Description.php \phpDocumentor\Reflection\DocBlock\Description::setDocBlock()
Sets the docblock this tag belongs to.
Parameters
DocBlock $docblock The new docblock this description belongs to.: Setting NULL removes any association.
Return value
$this
File
- vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Description.php, line 193
Class
- Description
- Parses a Description of a DocBlock or tag.
Namespace
phpDocumentor\Reflection\DocBlockCode
public function setDocBlock(DocBlock $docblock = null) {
$this->docblock = $docblock;
return $this;
}