1 | <?php namespace Limoncello\Application\Packages\L10n; |
||
25 | abstract class L10nSettings implements SettingsInterface |
||
26 | { |
||
27 | /** Settings key */ |
||
28 | const KEY_DEFAULT_LOCALE = 0; |
||
29 | |||
30 | /** Settings key */ |
||
31 | const KEY_LOCALES_DATA = self::KEY_DEFAULT_LOCALE + 1; |
||
32 | |||
33 | /** Settings key */ |
||
34 | const KEY_LAST = self::KEY_LOCALES_DATA; |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | abstract protected function getDefaultLocale(): string; |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | abstract protected function getLocalesPath(): string; |
||
45 | |||
46 | /** |
||
47 | * @inheritdoc |
||
48 | */ |
||
49 | public function get(): array |
||
59 | } |
||
60 |