Open Journal Systems
3.3.0
|
Public Member Functions | |
parse (CommandInterface $command) | |
Static Public Member Functions | |
static | getInstance () |
Protected Member Functions | |
handleParsing (CommandInterface $command, Response $response, $contentType) | |
Static Protected Attributes | |
static | $instance |
Default HTTP response parser used to marshal JSON responses into arrays and XML responses into SimpleXMLElement
Definition at line 10 of file DefaultResponseParser.php.
|
static |
Reimplemented in Guzzle\Service\Command\OperationResponseParser.
Definition at line 19 of file DefaultResponseParser.php.
References Guzzle\Service\Command\DefaultResponseParser\$instance.
Referenced by Guzzle\Service\Command\AbstractCommand\process().
|
protected |
Reimplemented in Guzzle\Service\Command\OperationResponseParser.
Definition at line 42 of file DefaultResponseParser.php.
Referenced by Guzzle\Service\Command\DefaultResponseParser\parse().
Guzzle\Service\Command\DefaultResponseParser::parse | ( | CommandInterface | $command | ) |
Parse the HTTP response received by the command and update the command's result contents
CommandInterface | $command | Command to parse and update |
Implements Guzzle\Service\Command\ResponseParserInterface.
Definition at line 28 of file DefaultResponseParser.php.
References Guzzle\Service\Command\CommandInterface\getRequest(), and Guzzle\Service\Command\DefaultResponseParser\handleParsing().
|
staticprotected |
Definition at line 13 of file DefaultResponseParser.php.
Referenced by Guzzle\Service\Command\DefaultResponseParser\getInstance().