File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
src/Illuminate/Translation Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,16 @@ public function addNamespace($namespace, $hint)
164
164
$ this ->hints [$ namespace ] = $ hint ;
165
165
}
166
166
167
+ /**
168
+ * Get an array of all the registered namespaces.
169
+ *
170
+ * @return array
171
+ */
172
+ public function namespaces ()
173
+ {
174
+ return $ this ->hints ;
175
+ }
176
+
167
177
/**
168
178
* Add a new JSON path to the loader.
169
179
*
@@ -176,12 +186,12 @@ public function addJsonPath($path)
176
186
}
177
187
178
188
/**
179
- * Get an array of all the registered namespaces .
189
+ * Get an array of all the registered paths to JSON translation files .
180
190
*
181
191
* @return array
182
192
*/
183
- public function namespaces ()
193
+ public function jsonPaths ()
184
194
{
185
- return $ this ->hints ;
195
+ return $ this ->jsonPaths ;
186
196
}
187
197
}
You can’t perform that action at this time.
0 commit comments