1 | <?php |
||
19 | final class IndexResponse implements ApiResponse |
||
20 | { |
||
21 | /** |
||
22 | * @var string[] |
||
23 | */ |
||
24 | private $items; |
||
25 | |||
26 | /** |
||
27 | * @var int |
||
28 | */ |
||
29 | private $totalCount; |
||
30 | |||
31 | /** |
||
32 | * @var string[] |
||
33 | */ |
||
34 | private $assignableToPools; |
||
35 | |||
36 | 2 | private function __construct() |
|
39 | |||
40 | 2 | public static function create(array $data) |
|
49 | |||
50 | /** |
||
51 | * @return string[] |
||
52 | */ |
||
53 | 1 | public function getItems(): array |
|
57 | |||
58 | /** |
||
59 | * @return string[] |
||
60 | */ |
||
61 | 1 | public function getAssignableToPools(): array |
|
65 | |||
66 | 1 | public function getTotalCount(): int |
|
70 | } |
||
71 |