Open Journal Systems
3.3.0
|
Public Member Functions | |
getClass () | |
getData ($name) | |
getDeprecated () | |
getDocumentationUrl () | |
getErrorResponses () | |
getHttpMethod () | |
getName () | |
getNotes () | |
getParam ($param) | |
getParamNames () | |
getParams () | |
getResponseClass () | |
getResponseNotes () | |
getResponseType () | |
getServiceDescription () | |
getSummary () | |
getUri () | |
hasParam ($name) | |
setServiceDescription (ServiceDescriptionInterface $description) | |
![]() | |
toArray () | |
Data Fields | |
const | TYPE_CLASS = 'class' |
const | TYPE_DOCUMENTATION = 'documentation' |
const | TYPE_MODEL = 'model' |
const | TYPE_PRIMITIVE = 'primitive' |
Interface defining data objects that hold the information of an API operation
Definition at line 10 of file OperationInterface.php.
Guzzle\Service\Description\OperationInterface::getClass | ( | ) |
Get the concrete operation class that implements this operation
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getData | ( | $name | ) |
Get extra data from the operation
string | $name | Name of the data point to retrieve |
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getDeprecated | ( | ) |
Get whether or not the operation is deprecated
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getDocumentationUrl | ( | ) |
Get the documentation URL of the operation
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getErrorResponses | ( | ) |
Get the errors that could be encountered when executing the operation
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getHttpMethod | ( | ) |
Get the HTTP method of the operation
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getName | ( | ) |
Get the name of the operation
Implemented in Guzzle\Service\Description\Operation.
Referenced by Guzzle\Service\Description\ServiceDescription\addOperation().
Guzzle\Service\Description\OperationInterface::getNotes | ( | ) |
Get a longer text field to explain the behavior of the operation
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getParam | ( | $param | ) |
Get a single parameter of the operation
string | $param | Parameter to retrieve by name |
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getParamNames | ( | ) |
Returns an array of parameter names
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getParams | ( | ) |
Guzzle\Service\Description\OperationInterface::getResponseClass | ( | ) |
Get what is returned from the method. Can be a primitive, class name, or model. For example, the responseClass could be 'array', which would inherently use a responseType of 'primitive'. Using a class name would set a responseType of 'class'. Specifying a model by ID will use a responseType of 'model'.
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getResponseNotes | ( | ) |
Get notes about the response of the operation
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getResponseType | ( | ) |
Get information about how the response is unmarshalled: One of 'primitive', 'class', 'model', or 'documentation'
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getServiceDescription | ( | ) |
Get the service description that the operation belongs to
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getSummary | ( | ) |
Get a short summary of what the operation does
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::getUri | ( | ) |
Get the URI that will be merged into the generated request
Implemented in Guzzle\Service\Description\Operation.
Guzzle\Service\Description\OperationInterface::hasParam | ( | $name | ) |
Check if the operation has a specific parameter by name
string | $name | Name of the param |
Implemented in Guzzle\Service\Description\Operation.
Referenced by Guzzle\Service\Command\DefaultRequestSerializer\prepareAdditionalParameters().
Guzzle\Service\Description\OperationInterface::setServiceDescription | ( | ServiceDescriptionInterface | $description | ) |
Set the service description that the operation belongs to
ServiceDescriptionInterface | $description | Service description |
Implemented in Guzzle\Service\Description\Operation.
Referenced by Guzzle\Service\Description\ServiceDescription\addOperation().
const Guzzle\Service\Description\OperationInterface::TYPE_CLASS = 'class' |
Definition at line 13 of file OperationInterface.php.
Referenced by Guzzle\Service\Command\OperationResponseParser\handleParsing(), and Guzzle\Service\Description\Operation\inferResponseType().
const Guzzle\Service\Description\OperationInterface::TYPE_DOCUMENTATION = 'documentation' |
Definition at line 14 of file OperationInterface.php.
const Guzzle\Service\Description\OperationInterface::TYPE_MODEL = 'model' |
Definition at line 15 of file OperationInterface.php.
Referenced by Guzzle\Service\Command\OperationResponseParser\handleParsing(), and Guzzle\Service\Description\Operation\inferResponseType().
const Guzzle\Service\Description\OperationInterface::TYPE_PRIMITIVE = 'primitive' |
Definition at line 12 of file OperationInterface.php.
Referenced by Guzzle\Service\Description\Operation\inferResponseType().