Skip to content

Commit fc331f3

Browse files
authored
Access Translator Json Paths
1 parent 72ea328 commit fc331f3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Illuminate/Translation/FileLoader.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,14 @@ public function namespaces()
184184
{
185185
return $this->hints;
186186
}
187+
188+
/**
189+
* Get an array of all the registered paths to JSON translation files.
190+
*
191+
* @return array
192+
*/
193+
public function getJsonPaths()
194+
{
195+
return $this->jsonPaths;
196+
}
187197
}

0 commit comments

Comments
 (0)