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

Breadcrumb

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

function Test::__construct

@psalm-param non-empty-string $file

2 calls to Test::__construct()
TestMethod::__construct in vendor/phpunit/phpunit/src/Event/Value/Test/TestMethod.php
@psalm-param class-string $className @psalm-param non-empty-string $methodName @psalm-param non-empty-string $file @psalm-param non-negative-int $line
TestMethod::__construct in vendor/phpunit/phpunit/src/Event/Value/Test/TestMethod.php
@psalm-param class-string $className @psalm-param non-empty-string $methodName @psalm-param non-empty-string $file @psalm-param non-negative-int $line
1 method overrides Test::__construct()
TestMethod::__construct in vendor/phpunit/phpunit/src/Event/Value/Test/TestMethod.php
@psalm-param class-string $className @psalm-param non-empty-string $methodName @psalm-param non-empty-string $file @psalm-param non-negative-int $line

File

vendor/phpunit/phpunit/src/Event/Value/Test/Test.php, line 27

Class

Test
@psalm-immutable

Namespace

PHPUnit\Event\Code

Code

public function __construct(string $file) {
    $this->file = $file;
}
RSS feed
Powered by Drupal