Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • 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
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • ParserRegistry
  • Overview
  • Namespace
  • Class
  • Tree

Class ParserRegistry

Registry of parsers used by the application

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

Returns

Guzzle\Parser\ParserRegistry

Codecoverageignore

public
# __construct( )
public mixed|null
# getParser( string $name )

Get a parser by name from an instance

Get a parser by name from an instance

Parameters

$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
Name or handle of the parser to register
$parser
Instantiated parser to register
Properties summary
protected static Guzzle\Parser\ParserRegistry $instance

Singleton instance

Singleton instance

#
protected array $instances

Array of parser instances

Array of parser instances

# array()
protected array $mapping

Mapping of parser name to default class

Mapping of parser name to default class

# array( 'message' => 'Guzzle\\Parser\\Message\\MessageParser', 'cookie' => 'Guzzle\\Parser\\Cookie\\CookieParser', 'url' => 'Guzzle\\Parser\\Url\\UrlParser', 'uri_template' => 'Guzzle\\Parser\\UriTemplate\\UriTemplate', )
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen