Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php // Copyright ⓒ 2018 Magneds IP B.V. - All Rights Reserved |
||
6 | class LanguageTranslateStringCollection |
||
7 | { |
||
8 | /** |
||
9 | * @var string |
||
10 | */ |
||
11 | protected $iso; |
||
12 | |||
13 | /** |
||
14 | * @var TranslateString[] |
||
15 | */ |
||
16 | protected $strings; |
||
17 | |||
18 | public function __construct(string $iso, TranslateString ...$strings) |
||
19 | { |
||
20 | $this->iso = $iso; |
||
21 | $this->strings = $strings; |
||
22 | } |
||
23 | |||
24 | public function getTranslateStrings(): array |
||
25 | { |
||
26 | return $this->strings; |
||
27 | } |
||
28 | |||
29 | public function getLanguage(): string |
||
32 | } |
||
33 | } |
||
34 |