Showing 10 of 1,278 results.

load($namespace, $group, $locale) | The Laravel Translator

The load method internally makes a call to the load method on the current instance of the Illuminate\Translation\LoaderInterface implementation, which by default is an instance of FileLoader . The Translator additionally keeps an internal cache of...

addNamespace($namespace, $hint) | The Laravel Translator

The Translator class exposes the addNamespace method as part of its public API. The addNamespace internally makes a call to the addNamespace method on the current instance of the Illuminate\Translation\LoaderInterface implementation, which by...

parseKey($key) | The Laravel Translator

The parseKey is used to parse a given $key into its namespace, group and item parts. The namespace refers to a custom namespace (or the default * namespace); the group refers to a particular file, such as passwords.php and the item refers to a...