Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | interface TransChecker |
||
13 | { |
||
14 | /* ----------------------------------------------------------------- |
||
15 | | Getters & Setter |
||
16 | | ----------------------------------------------------------------- |
||
17 | */ |
||
18 | |||
19 | /** |
||
20 | * Get the default locale being used. |
||
21 | * |
||
22 | * @return string |
||
23 | */ |
||
24 | public function getDefaultLocale(): string; |
||
25 | |||
26 | /** |
||
27 | * Get the locales to check. |
||
28 | * |
||
29 | * @return array |
||
30 | */ |
||
31 | public function getLocales(): array; |
||
32 | |||
33 | /** |
||
34 | * Get the ignored translation attributes. |
||
35 | * |
||
36 | * @return array |
||
37 | */ |
||
38 | public function getIgnoredTranslations(): array; |
||
39 | |||
40 | /* ----------------------------------------------------------------- |
||
41 | | Main Methods |
||
42 | | ----------------------------------------------------------------- |
||
43 | */ |
||
44 | |||
45 | /** |
||
46 | * Check the missing translations. |
||
47 | * |
||
48 | * @return array |
||
49 | */ |
||
50 | public function check(): array; |
||
51 | } |
||
52 |