XmlErrorParser
extends AbstractErrorParser
in package
Uses
PayloadParserTrait
Parses XML errors.
Table of Contents
Methods
- __construct() : mixed
- __invoke() : mixed
Methods
__construct()
public
__construct([Service|null $api = null ][, XmlParser|null $parser = null ]) : mixed
Parameters
- $api : Service|null = null
- $parser : XmlParser|null = null
__invoke()
public
__invoke(ResponseInterface $response[, CommandInterface|null $command = null ]) : mixed
Parameters
- $response : ResponseInterface
- $command : CommandInterface|null = null