1 | <?php |
||
10 | class Imported implements CreatableFromArray |
||
11 | { |
||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | private $assets; |
||
16 | |||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | private $locales; |
||
21 | |||
22 | private function __construct() |
||
25 | |||
26 | /** |
||
27 | * @param array $data |
||
28 | * |
||
29 | * @return Imported |
||
30 | */ |
||
31 | public static function createFromArray(array $data) |
||
44 | |||
45 | /** |
||
46 | * @return array |
||
47 | */ |
||
48 | public function getAssets(): array |
||
52 | |||
53 | /** |
||
54 | * @param array $assets |
||
55 | */ |
||
56 | private function setAssets($assets) |
||
60 | |||
61 | /** |
||
62 | * @return array |
||
63 | */ |
||
64 | public function getLocales(): array |
||
68 | |||
69 | /** |
||
70 | * @param array $locales |
||
71 | */ |
||
72 | private function setLocales($locales) |
||
76 | } |
||
77 |