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

Breadcrumb

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

function Registry::build

Same name in this branch
  1. 11.1.x core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::build()
1 call to Registry::build()
Registry::parser in vendor/phpunit/phpunit/src/Metadata/Parser/Registry.php

File

vendor/phpunit/phpunit/src/Metadata/Parser/Registry.php, line 29

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 function build() : Parser {
    return new CachingParser(new ParserChain(new AttributeParser(), new AnnotationParser()));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal