1 | <?php |
||
13 | class TranslatorServiceProvider extends AbstractSignatureServiceProvider |
||
14 | { |
||
15 | |||
16 | protected $languages = null; |
||
17 | |||
18 | protected $languageDirectory = null; |
||
19 | |||
20 | /** |
||
21 | * @inheritdoc |
||
22 | */ |
||
23 | 1 | public function register() |
|
29 | |||
30 | /** |
||
31 | * Register the session manager instance. |
||
32 | * |
||
33 | * @return void |
||
34 | */ |
||
35 | 1 | protected function registerTranslator() |
|
40 | |||
41 | /** |
||
42 | * Register the translation line loader. |
||
43 | * |
||
44 | * @return void |
||
45 | */ |
||
46 | protected function registerLoader() |
||
55 | |||
56 | protected function registerLanguages() |
||
62 | |||
63 | /** |
||
64 | * @return File |
||
65 | */ |
||
66 | 1 | protected function createFileBackend() |
|
77 | |||
78 | /** |
||
79 | * @inheritdoc |
||
80 | */ |
||
81 | public function provides() |
||
85 | |||
86 | /** |
||
87 | * @return null |
||
88 | */ |
||
89 | 1 | public function getLanguages() |
|
96 | |||
97 | protected function initLanguages() |
||
102 | |||
103 | /** |
||
104 | * @param null $languages |
||
105 | */ |
||
106 | 1 | public function setLanguages($languages) |
|
110 | |||
111 | /** |
||
112 | * @return null |
||
113 | */ |
||
114 | 1 | public function getLanguageDirectory() |
|
121 | |||
122 | /** |
||
123 | * @param null $languageDirectory |
||
124 | */ |
||
125 | 1 | public function setLanguageDirectory($languageDirectory) |
|
129 | |||
130 | protected function initLanguageDirectory() |
||
134 | |||
135 | |||
136 | } |