Conditions | 3 |
Paths | 3 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
38 | public function findTranslationFiles(ThemeInterface $theme) |
||
39 | { |
||
40 | $themeFiles = $this->getThemeFiles($theme); |
||
41 | |||
42 | $translationsFiles = []; |
||
43 | foreach ($themeFiles as $themeFile) { |
||
44 | if (!$this->isTranslationFile($themeFile)) { |
||
45 | continue; |
||
46 | } |
||
47 | |||
48 | $translationsFiles[] = $themeFile; |
||
49 | } |
||
50 | |||
51 | return $translationsFiles; |
||
52 | } |
||
53 | |||
81 |