class FileLoader implements LoaderInterface (View source)
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. | |
array | namespaces() Get an array of all the registered namespaces. |
Create a new file loader instance.
Load the messages for the given locale.
Add a new namespace to the loader.
Get an array of all the registered namespaces.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Translation/FileLoader.html