Свойство | Тип | Описание | |
---|---|---|---|
$defaultLocale | string | @var string | |
$translationRepository | @var \Waavi\Translation\Repositories\TranslationRepository |
Метод | Описание | |
---|---|---|
__construct ( string $defaultLocale, |
Create a new mixed loader instance. | |
addNamespace ( string $namespace, string $hint ) : void | Add a new namespace to the loader. | |
loadSource ( string $locale, string $group, string $namespace = '*' ) : array | Load the messages strictly for the given locale. |
public __construct ( string $defaultLocale, |
||
$defaultLocale | string | |
$translationRepository |