1 | <?php |
||
13 | class CollectionItem implements CreatableFromArray |
||
14 | { |
||
15 | /** |
||
16 | * @var Item[] |
||
17 | */ |
||
18 | private $items; |
||
19 | |||
20 | 1 | private function __construct(array $items) |
|
29 | |||
30 | 1 | public static function createFromArray(array $data) |
|
41 | |||
42 | /** |
||
43 | * @return Items[] |
||
44 | */ |
||
45 | public function getItems() |
||
49 | } |
||
50 |