interface
Illuminate
/
Contracts
/
Translation
/
Loader
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
Loader
Methods
public
load ( $locale , $group , $namespace ) : array
Load the messages for the given locale.
Parameters
- $locale string
- $group string
- $namespace string|null
public
addNamespace ( $namespace , $hint ) : void
Add a new namespace to the loader.
Parameters
- $namespace string
- $hint string
public
addJsonPath ( $path ) : void
Add a new JSON path to the loader.
Parameters
- $path string
public
namespaces ( ) : array
Get an array of all the registered namespaces.