1 | <?php |
||
19 | final class ParseResponse implements ApiResponse |
||
20 | { |
||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | private $parsed; |
||
25 | |||
26 | /** |
||
27 | * @var array |
||
28 | */ |
||
29 | private $unparseable; |
||
30 | |||
31 | 3 | private function __construct() |
|
34 | |||
35 | 3 | public static function create(array $data): self |
|
43 | |||
44 | 3 | public function getParsed(): array |
|
48 | |||
49 | 3 | public function getUnparseable(): array |
|
53 | } |
||
54 |