Total Complexity | 6 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | class Reader |
||
10 | { |
||
11 | /** |
||
12 | * Reads the translation file's contents. |
||
13 | * |
||
14 | * @param Collection $files |
||
15 | * @param Collection $locales |
||
16 | * |
||
17 | * @return mixed |
||
18 | */ |
||
19 | public function read(Collection $files, Collection $locales) |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Retrieves the real path to a translation file. |
||
38 | * |
||
39 | * @param $file |
||
40 | * @param $locale |
||
41 | * |
||
42 | * @return string |
||
43 | */ |
||
44 | public function pathToFile($file, $locale): string |
||
49 |