FileLoader
class FileLoader implements LoaderInterface (View source)
Methods
void
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
at line line 37
void
__construct(
Filesystem $files,
string $path)
Create a new file loader instance.
at line line 51
array
load(
string $locale,
string $group,
string $namespace = null)
Load the messages for the given locale.
at line line 123
void
addNamespace(
string $namespace,
string $hint)
Add a new namespace to the loader.