FileLoader (Translation)
FileLoader
class FileLoader implements LoaderInterface (View source)
Methods
void | __construct(Filesystem $files, string $path) Create a new file loader instance. | |
array | load(string $locale, string $group, string $namespace = null) Load the messages for the given locale. | |
void | addNamespace(string $namespace, string $hint) Add a new namespace to the loader. |
Details
void __construct(Filesystem $files, string $path)
Create a new file loader instance.
array load(string $locale, string $group, string $namespace = null)
Load the messages for the given locale.
void addNamespace(string $namespace, string $hint)
Add a new namespace to the loader.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Translation/FileLoader.html