Documentation

OperationResponseParser extends DefaultResponseParser
in package

Response parser that attempts to marshal responses into an associative array based on models in a service description

Table of Contents

Properties

$factory  : VisitorFlyweight
$instance  : self
$schemaInModels  : bool

Methods

__construct()  : mixed
addVisitor()  : self
Add a location visitor to the command
getInstance()  : self
parse()  : mixed
Parse the HTTP response received by the command and update the command's result contents
handleParsing()  : mixed
parseClass()  : mixed
Parse a class object
visitAdditionalProperties()  : mixed
visitResult()  : array<string|int, mixed>
Perform transformations on the result array

Properties

Methods

parse()

Parse the HTTP response received by the command and update the command's result contents

public parse(CommandInterface $command) : mixed
Parameters
$command : CommandInterface

Command to parse and update

Return values
mixed

Returns the result to set on the command


        
On this page

Search results