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

at line line 37
void __construct( Filesystem $files, string $path)

Create a new file loader instance.

Parameters

Filesystem $files
string $path

Return Value

void

at line line 51
array load( string $locale, string $group, string $namespace = null)

Load the messages for the given locale.

Parameters

string $locale
string $group
string $namespace

Return Value

array

at line line 123
void addNamespace( string $namespace, string $hint)

Add a new namespace to the loader.

Parameters

string $namespace
string $hint

Return Value

void