Open Journal Systems
3.3.0
|
Public Member Functions | |
getRequestSerializer () | |
getResponseParser () | |
setRequestSerializer (RequestSerializerInterface $serializer) | |
setResponseParser (ResponseParserInterface $parser) | |
![]() | |
__clone () | |
__construct ($parameters=array(), OperationInterface $operation=null) | |
__invoke () | |
execute () | |
getClient () | |
getName () | |
getOperation () | |
getRequest () | |
getRequestHeaders () | |
getResponse () | |
getResult () | |
getValidationErrors () | |
isExecuted () | |
isPrepared () | |
prepare () | |
setClient (ClientInterface $client) | |
setOnComplete ($callable) | |
setResult ($result) | |
setValidator (ValidatorInterface $validator) | |
![]() | |
__construct (array $data=array()) | |
add ($key, $value) | |
clear () | |
count () | |
filter (\Closure $closure, $static=true) | |
get ($key) | |
getAll (array $keys=null) | |
getIterator () | |
getKeys () | |
getPath ($path, $separator='/', $data=null) | |
hasKey ($key) | |
hasValue ($value) | |
inject ($input) | |
keySearch ($key) | |
map (\Closure $closure, array $context=array(), $static=true) | |
merge ($data) | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetUnset ($offset) | |
overwriteWith ($data) | |
remove ($key) | |
replace (array $data) | |
set ($key, $value) | |
setPath ($path, $value) | |
toArray () | |
Protected Member Functions | |
build () | |
process () | |
![]() | |
createOperation () | |
getValidator () | |
init () | |
validate () | |
Protected Attributes | |
$requestSerializer | |
$responseParser | |
![]() | |
$client | |
$onComplete | |
$operation | |
$request | |
$result | |
$validator | |
![]() | |
$data | |
Additional Inherited Members | |
![]() | |
static | fromConfig (array $config=array(), array $defaults=array(), array $required=array()) |
![]() | |
const | DISABLE_VALIDATION = 'command.disable_validation' |
const | HEADERS_OPTION = 'command.headers' |
const | HIDDEN_PARAMS = 'command.hidden_params' |
const | ON_COMPLETE = 'command.on_complete' |
const | REQUEST_OPTIONS = 'command.request_options' |
const | RESPONSE_BODY = 'command.response_body' |
const | RESPONSE_PROCESSING = 'command.response_processing' |
const | TYPE_MODEL = 'model' |
const | TYPE_NO_TRANSLATION = 'no_translation' |
const | TYPE_RAW = 'raw' |
A command that creates requests based on {
Definition at line 10 of file OperationCommand.php.
|
protected |
Create the request object that will carry out the command
Reimplemented from Guzzle\Service\Command\AbstractCommand.
Definition at line 82 of file OperationCommand.php.
References Guzzle\Service\Command\OperationCommand\getRequestSerializer().
Guzzle\Service\Command\OperationCommand::getRequestSerializer | ( | ) |
Get the request serializer used with the command
Definition at line 57 of file OperationCommand.php.
References Guzzle\Service\Command\OperationCommand\$requestSerializer, and Guzzle\Service\Command\DefaultRequestSerializer\getInstance().
Referenced by Guzzle\Service\Command\OperationCommand\build().
Guzzle\Service\Command\OperationCommand::getResponseParser | ( | ) |
Get the response parser used for the operation
Definition at line 72 of file OperationCommand.php.
References Guzzle\Service\Command\OperationCommand\$responseParser, and Guzzle\Service\Command\OperationResponseParser\getInstance().
Referenced by Guzzle\Service\Command\OperationCommand\process().
|
protected |
Create the result of the command after the request has been completed. Override this method in subclasses to customize this behavior
Reimplemented from Guzzle\Service\Command\AbstractCommand.
Definition at line 88 of file OperationCommand.php.
References Guzzle\Service\Command\OperationCommand\getResponseParser(), and Guzzle\Service\Command\AbstractCommand\RESPONSE_PROCESSING.
Guzzle\Service\Command\OperationCommand::setRequestSerializer | ( | RequestSerializerInterface | $serializer | ) |
Set the request serializer used with the command
RequestSerializerInterface | $serializer | Request serializer |
Definition at line 45 of file OperationCommand.php.
Guzzle\Service\Command\OperationCommand::setResponseParser | ( | ResponseParserInterface | $parser | ) |
Set the response parser used with the command
ResponseParserInterface | $parser | Response parser |
Definition at line 31 of file OperationCommand.php.
|
protected |
Definition at line 16 of file OperationCommand.php.
Referenced by Guzzle\Service\Command\OperationCommand\getRequestSerializer().
|
protected |
Response parser
Definition at line 22 of file OperationCommand.php.
Referenced by Guzzle\Service\Command\OperationCommand\getResponseParser().