| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 42 | 2 | public function parseResponse(TelnetResponseInterface $telnetResponse) |
|
| 43 | { |
||
| 44 | 2 | $promptMatches = $telnetResponse->getPromptMatches(); |
|
| 45 | 2 | $prompt = reset($promptMatches); |
|
| 46 | |||
| 47 | 2 | $response = parent::parseResponse($telnetResponse); |
|
| 48 | // prompt = RESULT GETXML <xml><something... |
||
| 49 | 2 | $response->setResponseText(substr($prompt, 14)); |
|
| 50 | |||
| 51 | 2 | return $response; |
|
| 52 | } |
||
| 53 | } |
||
| 54 |