You are here

public function Description::setDocBlock in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\DocBlock

Code

public function setDocBlock(DocBlock $docblock = null) {
  $this->docblock = $docblock;
  return $this;
}