Debian Codegraph @

lib/3rdParty/composer/aws/aws-sdk-php/src/CommandInterface.php

raw symbols SCIP
1 <?php
2 namespace Aws;
3
4 /**
5 * A command object encapsulates the input parameters used to control the
6 * creation of a HTTP request and processing of a HTTP response.
7 *
8 * Using the toArray() method will return the input parameters of the command
9 * as an associative array.
10 */
11 interface CommandInterface extends \ArrayAccess, \Countable, \IteratorAggregate
12 {
13 /**
14 * Converts the command parameters to an array
15 *
16 * @return array
17 */
18 public function toArray();
19
20 /**
21 * Get the name of the command
22 *
23 * @return string
24 */
25 public function getName();
26
27 /**
28 * Check if the command has a parameter by name.
29 *
30 * @param string $name Name of the parameter to check
31 *
32 * @return bool
33 */
34 public function hasParam($name);
35
36 /**
37 * Get the handler list used to transfer the command.
38 *
39 * @return HandlerList
40 */
41 public function getHandlerList();
42 }