1 | <?php |
||
2 | |||
3 | namespace Efabrica\TranslationsAutomatization\Command\CheckDictionaries; |
||
4 | |||
5 | use Efabrica\TranslationsAutomatization\Storage\StorageInterface; |
||
6 | |||
7 | class CheckDictionariesConfig |
||
8 | { |
||
9 | /** @var array<string, <string, string>> */ |
||
0 ignored issues
–
show
Documentation
Bug
introduced
by
![]() |
|||
10 | private $dictionaries; |
||
11 | |||
12 | /** |
||
13 | * @param array<string, <string, string>> $dictionaries [language => [key => translation]] |
||
0 ignored issues
–
show
|
|||
14 | */ |
||
15 | public function __construct(array $dictionaries) |
||
16 | { |
||
17 | $this->dictionaries = $dictionaries; |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * @return array<string, <string, string>> [language => [key => translation]] |
||
0 ignored issues
–
show
|
|||
22 | */ |
||
23 | public function load(): array |
||
24 | { |
||
25 | return $this->dictionaries; |
||
26 | } |
||
27 | } |
||
28 |