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 static
getInstance ( )
-
public
parse ( Guzzle\Service\Command\CommandInterface $command )
Parse the HTTP response received by the command and update the command's result contents
-
protected
handleParsing ( 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
mixed
Returns 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 |