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

  • AbstractCommand
  • ClosureCommand
  • DefaultRequestSerializer
  • DefaultResponseParser
  • OperationCommand
  • OperationResponseParser

Interfaces

  • CommandInterface
  • RequestSerializerInterface
  • ResponseClassInterface
  • ResponseParserInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class DefaultResponseParser

Default HTTP response parser used to marshal JSON responses into arrays and XML responses into SimpleXMLElement

Guzzle\Service\Command\DefaultResponseParser implements Guzzle\Service\Command\ResponseParserInterface

Direct known subclasses

Guzzle\Service\Command\OperationResponseParser
Namespace: Guzzle\Service\Command
Located at Guzzle/Service/Command/DefaultResponseParser.php
Methods summary
public static Guzzle\Service\Command\DefaultResponseParser
# getInstance( )

Get a cached instance of the default response parser

Get a cached instance of the default response parser

Returns

Guzzle\Service\Command\DefaultResponseParser

CodeCoverageIgnore

public mixed
# parse( Guzzle\Service\Command\CommandInterface $command )

Parse the HTTP response received by the command and update the command's result contents

Parse the HTTP response received by the command and update the command's result contents

Parameters

$command
Guzzle\Service\Command\CommandInterface
$command Command to parse and update

Returns

mixed
Returns the result to set on the command

Implementation of

Guzzle\Service\Command\ResponseParserInterface::parse()
protected
# handleParsing( Guzzle\Service\Command\AbstractCommand $command, Guzzle\Http\Message\Response $response, mixed $contentType )
Properties summary
protected static Guzzle\Service\Command\DefaultResponseParser $instance
#
php-coveralls API documentation generated by ApiGen 2.8.0