public function Description::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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\DocBlockCode
public function __construct($content, DocBlock $docblock = null) {
$this
->setContent($content)
->setDocBlock($docblock);
}