function Configuration::instance

Returns the singleton.

Return value

self The singleton.

1 call to Configuration::instance()
DeprecationHandler::preBootstrap in core/tests/Drupal/TestTools/Extension/DeprecationBridge/DeprecationHandler.php
Load configuration and setup.

File

core/tests/Drupal/TestTools/Extension/DeprecationBridge/Configuration.php, line 49

Class

Configuration
Configuration for DeprecationHandler.

Namespace

Drupal\TestTools\Extension\DeprecationBridge

Code

public static function instance() : self {
  if (!isset(self::$instance)) {
    self::$instance = new self();
  }
  return self::$instance;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.