Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Registry.php

function Registry::get

Same name in this branch
  1. 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

... See full list

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\Configuration

Code

public static function get() : Configuration {
    assert(self::$instance instanceof Configuration);
    return self::$instance;
}
RSS feed
Powered by Drupal