toArray()
toArray() : array
Get the array representation of an object
A command object that contains parameters that can be modified and accessed like an array and turned into an array
getOperation() : \Guzzle\Service\Description\OperationInterface
Get the API operation information about the command
getClient() : \Guzzle\Service\ClientInterface|null
Get the client object that will execute the command
setClient(\Guzzle\Service\ClientInterface $client) : self
Set the client object that will execute the command
\Guzzle\Service\ClientInterface | $client | The client object that will execute the command |
getRequest() : \Guzzle\Http\Message\RequestInterface
Get the request object associated with the command
if the command has not been executed
getResponse() : \Guzzle\Http\Message\Response
Get the response object associated with the command
if the command has not been executed
getResult() : \Guzzle\Http\Message\Response
Get the result of the command
if the command has not been executed
By default, commands return a Response object unless overridden in a subclass
prepare() : \Guzzle\Http\Message\RequestInterface
Prepare the command for executing and create a request object.
if a client object has not been set previously or in the prepare()
Returns the generated request
getRequestHeaders() : \Guzzle\Common\Collection
Get the object that manages the request headers that will be set on any outbound requests from the command
setOnComplete(mixed $callable) : self
Specify a callable to execute when the command completes
mixed | $callable | Callable to execute when the command completes. The callable must accept a {@see CommandInterface} object as the only argument. |