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
Methods summary
-
public staticgetInstance ( ) -
publicparse ( Guzzle\Service\Command\CommandInterface $command )Parse the HTTP response received by the command and update the command's result contents
-
protectedhandleParsing ( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\Response $response, mixed $contentType )
Methods detail
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
mixedReturns the result to set on the command
Implementation of
#
protected
handleParsing( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\Response $response, mixed $contentType )
Magic methods summary
Properties summary
protected static
|
$instance |