1 | <?php |
||
20 | final class TranslationFilesFinder implements TranslationFilesFinderInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var FinderFactoryInterface |
||
24 | */ |
||
25 | private $finderFactory; |
||
26 | |||
27 | /** |
||
28 | * @param FinderFactoryInterface $finderFactory |
||
29 | */ |
||
30 | public function __construct(FinderFactoryInterface $finderFactory) |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function findTranslationFiles(ThemeInterface $theme) |
||
53 | |||
54 | /** |
||
55 | * @param ThemeInterface $theme |
||
56 | * |
||
57 | * @return array |
||
58 | */ |
||
59 | private function getThemeFiles(ThemeInterface $theme) |
||
69 | |||
70 | /** |
||
71 | * @param string $file |
||
72 | * |
||
73 | * @return bool |
||
74 | */ |
||
75 | private function isTranslationFile($file) |
||
80 | } |
||
81 |