phpDocumentor\Reflection\DocBlock\Description::setDocBlock PHP Method

setDocBlock() public method

Sets the docblock this tag belongs to.
public setDocBlock ( DocBlock $docblock = null )
$docblock phpDocumentor\Reflection\DocBlock The new docblock this description belongs to. Setting NULL removes any association.
    public function setDocBlock(DocBlock $docblock = null)
    {
        $this->docblock = $docblock;
        return $this;
    }