Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
Registry.php
Registry::$instance
Same name in this branch
11.1.x vendor/phpunit/phpunit/src/TextUI/Configuration/Registry.php
\PHPUnit\TextUI\Configuration\Registry::instance
11.1.x vendor/phpunit/phpunit/src/Metadata/Parser/Annotation/Registry.php
\PHPUnit\Metadata\Annotation\Parser\Registry::instance
Type:
instance
File
vendor/
phpunit/
phpunit/
src/
Metadata/
Parser/
Registry.php
, line 22
Class
Registry
Attribute and annotation information is static within a single PHP process. It is therefore okay to use a Singleton registry here.
Namespace
PHPUnit\Metadata\Parser
Code
private static ?Parser $instance =
null
;
RSS feed