Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • ParserRegistry
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class ParserRegistry

Registry of parsers used by the application

Namespace: Guzzle\Parser
Located at Guzzle/Parser/ParserRegistry.php
Methods summary
public static Guzzle\Parser\ParserRegistry
# getInstance( )

Get a singleton instance

Get a singleton instance

Returns

Guzzle\Parser\ParserRegistry

CodeCoverageIgnore

public
# __construct( )

Constructor used to apply the most performant parsers based on loaded extensions

Constructor used to apply the most performant parsers based on loaded extensions

public mixed|null
# getParser( string $name )

Get a parser by name from an instance

Get a parser by name from an instance

Parameters

$name
string
$name Name of the parser to retrieve

Returns

mixed|null
public
# registerParser( string $name, mixed $parser )

Register a custom parser by name with the register

Register a custom parser by name with the register

Parameters

$name
string
$name Name or handle of the parser to register
$parser
mixed
$parser Instantiated parser to register
Properties summary
protected static Guzzle\Parser\ParserRegistry $instance
#

Singleton instance

Singleton instance

protected array $instances array()
#

Array of parser instances

Array of parser instances

protected array $mapping array( 'message' => 'Guzzle\\Parser\\Message\\MessageParser', 'cookie' => 'Guzzle\\Parser\\Cookie\\CookieParser', 'url' => 'Guzzle\\Parser\\Url\\UrlParser', 'uri_template' => 'Guzzle\\Parser\\UriTemplate\\UriTemplate', )
#

Mapping of parser name to default class

Mapping of parser name to default class

php-coveralls API documentation generated by ApiGen 2.8.0