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

__construct() public method

Populates the fields of a description.
public __construct ( string $content, DocBlock $docblock = null )
$content string The description's conetnts.
$docblock phpDocumentor\Reflection\DocBlock The DocBlock which this description belongs to.
    public function __construct($content, DocBlock $docblock = null)
    {
        $this->setContent($content)->setDocBlock($docblock);
    }