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 | 1 | /** |
|
32 | * @var string[] |
||
33 | 1 | */ |
|
34 | private $assignableToPools; |
||
35 | 1 | ||
36 | private function __construct() |
||
39 | 1 | ||
40 | public static function create(array $data) |
||
49 | 1 | ||
50 | /** |
||
51 | * @return string[] |
||
52 | 1 | */ |
|
53 | public function getItems(): array |
||
57 | |||
58 | /** |
||
59 | * @return string[] |
||
60 | */ |
||
61 | public function getAssignableToPools(): array |
||
65 | |||
66 | public function getTotalCount(): int |
||
70 | } |
||
71 |