diff options
author | Andrew Dolgov <[email protected]> | 2022-11-23 21:14:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-11-23 21:14:33 +0300 |
commit | 0c8af4992cb0f7589dcafaad65ada12753c64594 (patch) | |
tree | 18e83d068c3e7dd2499331de977782b382279396 /vendor/aws/aws-sdk-php/src/CommandInterface.php |
initial
Diffstat (limited to 'vendor/aws/aws-sdk-php/src/CommandInterface.php')
-rw-r--r-- | vendor/aws/aws-sdk-php/src/CommandInterface.php | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/vendor/aws/aws-sdk-php/src/CommandInterface.php b/vendor/aws/aws-sdk-php/src/CommandInterface.php new file mode 100644 index 0000000..b35c75d --- /dev/null +++ b/vendor/aws/aws-sdk-php/src/CommandInterface.php @@ -0,0 +1,42 @@ +<?php +namespace Aws; + +/** + * 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. + */ +interface CommandInterface extends \ArrayAccess, \Countable, \IteratorAggregate +{ + /** + * Converts the command parameters to an array + * + * @return array + */ + public function toArray(); + + /** + * Get the name of the command + * + * @return string + */ + public function getName(); + + /** + * Check if the command has a parameter by name. + * + * @param string $name Name of the parameter to check + * + * @return bool + */ + public function hasParam($name); + + /** + * Get the handler list used to transfer the command. + * + * @return HandlerList + */ + public function getHandlerList(); +} |