Operation
class Operation
This class represents an OpenStack API operation. It encapsulates most aspects of the REST operation: its HTTP method, the URL path, its top-level JSON key, and all of its {see Parameter} objects.
An operation not only represents a remote operation, but it also provides the mechanism for executing it over HTTP. To do this, it uses a {see ClientInterface} that allows a {see GuzzleHttp\Message\Request} to be created from the user values provided. Once this request is assembled, it is then sent to the remote API and the response is returned to whoever first invoked the Operation class.
Methods
No description
No description
No description
Indicates whether this operation supports a parameter.
No description
A convenience method that will take a generic array of data and convert it into an array of {see Parameter} objects.
This method will validate all of the user-provided values and throw an exception if any failures are detected. This is useful for basic sanity-checking before a request is serialized and sent to the API.
Details
static toParamArray(array $data)
A convenience method that will take a generic array of data and convert it into an array of {see Parameter} objects.