function DocBlock::__construct
Same name in this branch
- 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock.php \phpDocumentor\Reflection\DocBlock::__construct()
Note: we do not preserve an instance of the reflection object, since it cannot be safely (de-)serialized.
Parameters
array<string, array<int, string>> $symbolAnnotations:
File
-
vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ Annotation/ DocBlock.php, line 108
Class
- DocBlock
- This is an abstraction around a PHPUnit-specific docBlock, allowing us to ask meaningful questions about a specific reflection symbol.
Namespace
PHPUnit\Metadata\Annotation\ParserCode
private function __construct(string $docComment, array $symbolAnnotations, int $startLine, string $fileName) {
$this->docComment = $docComment;
$this->symbolAnnotations = $symbolAnnotations;
$this->startLine = $startLine;
$this->fileName = $fileName;
}