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

Breadcrumb

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

function TestMethod::__construct

@psalm-param class-string $className @psalm-param non-empty-string $methodName @psalm-param non-empty-string $file @psalm-param non-negative-int $line

Overrides Test::__construct

File

vendor/phpunit/phpunit/src/Event/Value/Test/TestMethod.php, line 49

Class

TestMethod
@psalm-immutable

Namespace

PHPUnit\Event\Code

Code

public function __construct(string $className, string $methodName, string $file, int $line, TestDox $testDox, MetadataCollection $metadata, TestDataCollection $testData) {
    parent::__construct($file);
    $this->className = $className;
    $this->methodName = $methodName;
    $this->line = $line;
    $this->testDox = $testDox;
    $this->metadata = $metadata;
    $this->testData = $testData;
}
RSS feed
Powered by Drupal