1 | <?php |
||
21 | class MultiLineResponse implements MultiLineResponseInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var array |
||
25 | */ |
||
26 | private $lines; |
||
27 | |||
28 | /** |
||
29 | * @var ResponseInterface |
||
30 | */ |
||
31 | private $response; |
||
32 | |||
33 | /** |
||
34 | * Constructor. |
||
35 | * |
||
36 | * @param ResponseInterface $response |
||
37 | * @param array $lines |
||
38 | */ |
||
39 | 2 | public function __construct(ResponseInterface $response, array $lines) |
|
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | 1 | public function getMessage() |
|
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | 1 | public function getStatusCode() |
|
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | public function getLines() |
||
68 | |||
69 | /** |
||
70 | * {@inheritdoc} |
||
71 | */ |
||
72 | 1 | public function __toString() |
|
76 | } |
||
77 |