array parseKey(string $key) Parse a key into namespace, group, and item. Parameters string $key Return Value array
static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void
string locale() Get the default locale being used. Return Value string
void load(string $namespace, string $group, string $locale) Load the specified language group. Parameters string $namespace string $group string $locale Return Value void
static bool hasMacro(string $name) Checks if macro is registered. Parameters string $name Return Value bool
bool hasForLocale(string $key, string|null $locale = null) Determine if a translation exists for a given locale. Parameters string $key string|null $locale Return Value bool
bool has(string $key, string|null $locale = null, bool $fallback = true) Determine if a translation exists. Parameters string $key string|null $locale bool $fallback Return Value bool
MessageSelector getSelector() Get the message selector instance. Return Value MessageSelector
string getLocale() Get the default locale being used. Return Value string
LoaderInterface getLoader() Get the language line loader implementation. Return Value LoaderInterface
Page 68 of 996