Class Command
- Aws\Command implements Aws\CommandInterface uses Aws\HasDataTrait
- Namespace: Aws
- Located at Command.php
AWS command object.
Methods Summary
-
__construct ( string $name, array $args = [], Aws\HandlerList $list = null )
Accepts an associative array of command options, including:
- __clone ( )
-
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.
-
getAuthSchemes ( )
Get auth schemes added to command as required for endpoint resolution
- get ( $name )
Methods inherited from Aws\CommandInterface
Methods inherited from IteratorAggregate
getIterator()
Methods inherited from Countable
count()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods used from Aws\HasDataTrait
Methods Details
__construct (
string
$name,
array
$args = [],
Aws\HandlerList
$list = null
)
Accepts an associative array of command options, including:
- @http: (array) Associative array of transfer options.
Parameters
string | $name | Name of the command |
array | $args = [] | Arguments to pass to the command |
Aws\HandlerList |
$list = null | Handler list |
__clone ( )
string getName ( )
boolean hasParam ( string $name )
Check if the command has a parameter by name.
Parameters
string | $name | Name of the parameter to check |
Returns
boolean |
Implementation of
Aws\HandlerList
getHandlerList (
)
getAuthSchemes ( )
Get auth schemes added to command as required for endpoint resolution
Returns
array | null