function Facade::collector
Throws
UnknownSubscriberTypeException
2 calls to Facade::collector()
- Facade::init in vendor/
phpunit/ phpunit/ src/ Runner/ TestResult/ Facade.php - Facade::shouldStop in vendor/
phpunit/ phpunit/ src/ Runner/ TestResult/ Facade.php
File
-
vendor/
phpunit/ phpunit/ src/ Runner/ TestResult/ Facade.php, line 92
Class
- Facade
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\TestRunner\TestResultCode
private static function collector() : Collector {
if (self::$collector === null) {
$configuration = ConfigurationRegistry::get();
self::$collector = new Collector(EventFacade::instance(), $configuration->source());
}
return self::$collector;
}