interface LoaderInterface (View source)

Methods

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.

Details

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

void addNamespace(string $namespace, string $hint)

Add a new namespace to the loader.

Parameters

string $namespace
string $hint

Return Value

void

array namespaces()

Get an array of all the registered namespaces.

Return Value

array