function TestDiscovery::__construct
Same name and namespace in other branches
- 8.9.x core/modules/simpletest/src/TestDiscovery.php \Drupal\simpletest\TestDiscovery::__construct()
- 11.x core/lib/Drupal/Core/Test/TestDiscovery.php \Drupal\Core\Test\TestDiscovery::__construct()
- 10 core/lib/Drupal/Core/Test/TestDiscovery.php \Drupal\Core\Test\TestDiscovery::__construct()
- 9 core/lib/Drupal/Core/Test/TestDiscovery.php \Drupal\Core\Test\TestDiscovery::__construct()
- 8.9.x core/lib/Drupal/Core/Test/TestDiscovery.php \Drupal\Core\Test\TestDiscovery::__construct()
File
-
core/
lib/ Drupal/ Core/ Test/ TestDiscovery.php, line 24
Class
- TestDiscovery
- Discovers available tests.
Namespace
Drupal\Core\TestCode
public function __construct(protected readonly string $root, protected readonly ClassLoader $classLoader) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.