| 1 | <?php |
||
| 14 | class CommandStatus implements QueryInterface |
||
| 15 | { |
||
| 16 | /** @var string */ |
||
| 17 | protected $commandId; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $commandId |
||
| 21 | */ |
||
| 22 | public function __construct(string $commandId) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritdoc} |
||
| 29 | */ |
||
| 30 | public function httpMethod(): string |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function uri(): string |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function toArray(): array |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param ResponseInterface $response |
||
| 53 | * |
||
| 54 | * @return AbstractResult |
||
| 55 | */ |
||
| 56 | public function queryResult(ResponseInterface $response): AbstractResult |
||
| 60 | } |
||
| 61 |