Interface CommandInterface
- Aws\CommandInterface implements ArrayAccess, Countable, IteratorAggregate
- Namespace: Aws
- Located at CommandInterface.php
A command object encapsulates the input parameters used to control the creation of a HTTP request and processing of a HTTP response.
Using the toArray() method will return the input parameters of the command as an associative array.
Direct known implementers
Methods Summary
-
toArray ( )
Converts the command parameters to an array
-
getName ( )
Get the name of the command
-
hasParam ( string $name )
Check if the command has a parameter by name.
-
getHandlerList ( )
Get the handler list used to transfer the command.
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Countable
count()
Methods inherited from IteratorAggregate
getIterator()
Methods Details
array toArray ( )
Converts the command parameters to an array
Returns
array |
string getName ( )
Get the name of the command
Returns
string |
boolean hasParam ( string $name )
Check if the command has a parameter by name.
Parameters
string | $name | Name of the parameter to check |
Returns
boolean |