public static function ParserRegistry::getInstance

Get a singleton instance

@codeCoverageIgnore

Return value

self

File

drupal/core/vendor/guzzle/parser/Guzzle/Parser/ParserRegistry.php, line 36

Class

ParserRegistry
Registry of parsers used by the application

Namespace

Guzzle\Parser

Code

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