phpDocumentor\Reflection\DocBlock\Description::__construct PHP 메소드

__construct() 공개 메소드

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);
    }