Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DocBlock.php

function DocBlock::__construct

Same name in this branch
  1. 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\Parser

Code

private function __construct(string $docComment, array $symbolAnnotations, int $startLine, string $fileName) {
    $this->docComment = $docComment;
    $this->symbolAnnotations = $symbolAnnotations;
    $this->startLine = $startLine;
    $this->fileName = $fileName;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal