| 1 | <?php |
||
| 19 | class InvalidResponseException extends Exception |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * |
||
| 23 | * @var CommandInterface |
||
| 24 | */ |
||
| 25 | protected $command; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * |
||
| 29 | * @var mixed |
||
| 30 | */ |
||
| 31 | protected $response; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * |
||
| 35 | * @param CommandInterface $command |
||
| 36 | * @param mixed $response |
||
| 37 | */ |
||
| 38 | public function __construct(CommandInterface $command, $response) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * |
||
| 46 | * @return CommandInterface |
||
| 47 | */ |
||
| 48 | public function getCommand() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * |
||
| 55 | * @return mixed |
||
| 56 | */ |
||
| 57 | public function getResponse() |
||
| 61 | } |
||
| 62 |