| 1 | <?php |
||
| 22 | abstract class AbstractCommand implements CommandInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | abstract public function getCommandText(); |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Default to the TelnetClient's prompt |
||
| 31 | * |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | 1 | public function getPrompt() |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @param TelnetResponseInterface $response |
||
| 41 | * |
||
| 42 | * @return \Graze\Dynamark3Client\Dynamark3ResponseInterface |
||
| 43 | */ |
||
| 44 | 4 | public function parseResponse(TelnetResponseInterface $response) |
|
| 59 | } |
||
| 60 |