LoaderInterface
in
Table of Contents
- addNamespace() : void
- Add a new namespace to the loader.
- load() : array<string|int, mixed>
- Load the messages for the given locale.
Methods
addNamespace()
Add a new namespace to the loader.
public
addNamespace(string $namespace, string $hint) : void
Parameters
- $namespace : string
- $hint : string
Return values
void —load()
Load the messages for the given locale.
public
load(string $locale, string $group[, string $namespace = null ]) : array<string|int, mixed>
Parameters
- $locale : string
- $group : string
- $namespace : string = null