Open Journal Systems
3.3.0
|
Public Member Functions | |
getApiVersion () | |
getBaseUrl () | |
getData ($key) | |
getDescription () | |
getModel ($id) | |
getModels () | |
getName () | |
getOperation ($name) | |
getOperations () | |
hasModel ($id) | |
hasOperation ($name) | |
setData ($key, $value) | |
A ServiceDescription stores service information based on a service document
Definition at line 8 of file ServiceDescriptionInterface.php.
Guzzle\Service\Description\ServiceDescriptionInterface::getApiVersion | ( | ) |
Get the API version of the service
Implemented in Guzzle\Service\Description\ServiceDescription.
Guzzle\Service\Description\ServiceDescriptionInterface::getBaseUrl | ( | ) |
Get the basePath/baseUrl of the description
Implemented in Guzzle\Service\Description\ServiceDescription.
Referenced by Guzzle\Service\Client\setDescription().
Guzzle\Service\Description\ServiceDescriptionInterface::getData | ( | $key | ) |
Get arbitrary data from the service description that is not part of the Guzzle spec
string | $key | Data key to retrieve |
Implemented in Guzzle\Service\Description\ServiceDescription.
Guzzle\Service\Description\ServiceDescriptionInterface::getDescription | ( | ) |
Get a summary of the purpose of the API
Implemented in Guzzle\Service\Description\ServiceDescription.
Guzzle\Service\Description\ServiceDescriptionInterface::getModel | ( | $id | ) |
Get a specific model from the description
string | $id | ID of the model |
Implemented in Guzzle\Service\Description\ServiceDescription.
Guzzle\Service\Description\ServiceDescriptionInterface::getModels | ( | ) |
Get all service description models
Implemented in Guzzle\Service\Description\ServiceDescription.
Guzzle\Service\Description\ServiceDescriptionInterface::getName | ( | ) |
Guzzle\Service\Description\ServiceDescriptionInterface::getOperation | ( | $name | ) |
Get an API operation by name
string | $name | Name of the command |
Implemented in Guzzle\Service\Description\ServiceDescription.
Guzzle\Service\Description\ServiceDescriptionInterface::getOperations | ( | ) |
Get the API operations of the service
Implemented in Guzzle\Service\Description\ServiceDescription.
Guzzle\Service\Description\ServiceDescriptionInterface::hasModel | ( | $id | ) |
Check if the description has a specific model by name
string | $id | ID of the model |
Implemented in Guzzle\Service\Description\ServiceDescription.
Guzzle\Service\Description\ServiceDescriptionInterface::hasOperation | ( | $name | ) |
Check if the service has an operation by name
string | $name | Name of the operation to check |
Implemented in Guzzle\Service\Description\ServiceDescription.
Guzzle\Service\Description\ServiceDescriptionInterface::setData | ( | $key, | |
$value | |||
) |
Set arbitrary data on the service description
string | $key | Data key to set |
mixed | $value | Value to set |
Implemented in Guzzle\Service\Description\ServiceDescription.