1 | <?php |
||
9 | final class CommandContinuationRequestResponse implements ResponseInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $line; |
||
15 | |||
16 | /** |
||
17 | * @param string $line |
||
18 | */ |
||
19 | 10 | public function __construct(string $line) |
|
23 | |||
24 | /** |
||
25 | * @return string |
||
26 | */ |
||
27 | 1 | public function __toString(): string |
|
31 | |||
32 | /** |
||
33 | * @param CompletionResult $expectedResult |
||
34 | * @return ResponseInterface |
||
35 | * @throws AssertionFailedException |
||
36 | */ |
||
37 | 1 | public function assertCompletion(CompletionResult $expectedResult): ResponseInterface |
|
41 | |||
42 | /** |
||
43 | * @return ResponseInterface |
||
44 | */ |
||
45 | 6 | public function assertContinuation(): ResponseInterface |
|
49 | |||
50 | /** |
||
51 | * @return ResponseInterface |
||
52 | * @throws AssertionFailedException |
||
53 | */ |
||
54 | 2 | public function assertTagged(): ResponseInterface |
|
58 | |||
59 | /** |
||
60 | * @return string |
||
61 | */ |
||
62 | 1 | public function getBody(): string |
|
66 | } |
||
67 |