public function Tag::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag.php \phpDocumentor\Reflection\DocBlock\Tag::__construct()
Parses a tag and populates the member variables.
Parameters
string $name Name of the tag.:
string $content The contents of the given tag.:
DocBlock $docblock The DocBlock which this tag belongs to.:
Location $location Location of the tag.:
File
- vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Tag.php, line 192
Class
- Tag
- Parses a tag definition for a DocBlock.
Namespace
phpDocumentor\Reflection\DocBlockCode
public function __construct($name, $content, DocBlock $docblock = null, Location $location = null) {
$this
->setName($name)
->setContent($content)
->setDocBlock($docblock)
->setLocation($location);
}