interface Illuminate / Contracts / Translation / Loader

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.