function Registry::get
Same name in this branch
- 11.1.x core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::get()
8 calls to Registry::get()
- Facade::collector in vendor/
phpunit/ phpunit/ src/ Runner/ TestResult/ Facade.php - Facade::shouldStop in vendor/
phpunit/ phpunit/ src/ Runner/ TestResult/ Facade.php - ListGroupsCommand::warnAboutConflictingOptions in vendor/
phpunit/ phpunit/ src/ TextUI/ Command/ Commands/ ListGroupsCommand.php - ListTestsAsTextCommand::warnAboutConflictingOptions in vendor/
phpunit/ phpunit/ src/ TextUI/ Command/ Commands/ ListTestsAsTextCommand.php - ListTestsAsXmlCommand::warnAboutConflictingOptions in vendor/
phpunit/ phpunit/ src/ TextUI/ Command/ Commands/ ListTestsAsXmlCommand.php
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Registry.php, line 91
Class
- Registry
- CLI options and XML configuration are static within a single PHPUnit process. It is therefore okay to use a Singleton registry here.
Namespace
PHPUnit\TextUI\ConfigurationCode
public static function get() : Configuration {
assert(self::$instance instanceof Configuration);
return self::$instance;
}