public static function ParserRegistry::get

Get a specific parser by handle name

@codeCoverageIgnore

Parameters

string $name Name of the parser to retrieve:

Return value

mixed|null Returns null if the parser is not found or cannot be instantiated

Deprecated

Will be removed in 3.1.0

File

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

Class

ParserRegistry
Registry of parsers used by the application

Namespace

Guzzle\Parser

Code

public static function get($name) {
  return self::getInstance()
    ->getParser($name);
}