PhpUnitTestDiscovery::$instance

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Test/PhpUnitTestDiscovery.php \Drupal\Core\Test\PhpUnitTestDiscovery::instance

The singleton.

Type: \Drupal\Core\Test\PhpUnitTestDiscovery|null

File

core/lib/Drupal/Core/Test/PhpUnitTestDiscovery.php, line 29

Class

PhpUnitTestDiscovery
Discovers available tests using the PHPUnit API.

Namespace

Drupal\Core\Test

Code

private static ?self $instance = NULL;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.