You are here

public function Description::__construct 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::__construct()

Populates the fields of a description.

Parameters

string $content The description's conetnts.:

DocBlock $docblock The DocBlock which this description belongs to.:

File

vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Description.php, line 41

Class

Description
Parses a Description of a DocBlock or tag.

Namespace

phpDocumentor\Reflection\DocBlock

Code

public function __construct($content, DocBlock $docblock = null) {
  $this
    ->setContent($content)
    ->setDocBlock($docblock);
}