| 1 | <?php |
||
| 9 | class Command implements CommandInterface |
||
| 10 | { |
||
| 11 | use HasDataTrait; |
||
| 12 | |||
| 13 | /** @var string */ |
||
| 14 | private $name; |
||
| 15 | |||
| 16 | /** @var HandlerStack */ |
||
| 17 | private $handlerStack; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $name Name of the command |
||
| 21 | * @param array $args Arguments to pass to the command |
||
| 22 | * @param HandlerStack $handlerStack Stack of middleware for the command |
||
| 23 | */ |
||
| 24 | public function __construct( |
||
| 33 | |||
| 34 | public function getHandlerStack() |
||
| 38 | |||
| 39 | public function getName() |
||
| 43 | |||
| 44 | public function hasParam($name) |
||
| 48 | |||
| 49 | public function __clone() |
||
| 55 | } |
||
| 56 |