1 | <?php |
||
19 | class MultiLineResponse implements MultiLineResponseInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | private $lines; |
||
25 | |||
26 | /** |
||
27 | * @var ResponseInterface |
||
28 | */ |
||
29 | private $response; |
||
30 | |||
31 | /** |
||
32 | * Constructor. |
||
33 | * |
||
34 | * @param ResponseInterface $response |
||
35 | * @param array $lines |
||
36 | */ |
||
37 | 2 | public function __construct(ResponseInterface $response, array $lines) |
|
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | 1 | public function getMessage() |
|
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | 1 | public function getStatusCode() |
|
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function getLines() |
||
63 | { |
||
64 | return $this->lines; |
||
65 | } |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | 1 | public function __toString() |
|
74 | } |
||
75 |