Class Guzzle\Service\Command\DefaultResponseParser

InheritanceGuzzle\Service\Command\DefaultResponseParser
ImplementsGuzzle\Service\Command\ResponseParserInterface
SubclassesGuzzle\Service\Command\OperationResponseParser

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

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$instance self Guzzle\Service\Command\DefaultResponseParser

Property Details

$instance protected static property
protected static self $instance null

Method Details

getInstance() public static method

public static self getInstance ( )
handleParsing() protected method

protected void handleParsing ( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\Response $response, $contentType )
$command
$response
$contentType
parse() public method

public void parse ( Guzzle\Service\Command\CommandInterface $command )
$command