ArrayLoader
class ArrayLoader implements 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.
$this
addMessages(
string $locale,
string $group,
array $messages,
string|null $namespace = null)
Add messages to the loader.
Details
at line line 22
array
load(
string $locale,
string $group,
string $namespace = null)
Load the messages for the given locale.
at line line 40
void
addNamespace(
string $namespace,
string $hint)
Add a new namespace to the loader.
at line line 54
$this
addMessages(
string $locale,
string $group,
array $messages,
string|null $namespace = null)
Add messages to the loader.