PHP Class Overtrue\LaravelLang\FileLoader

Inheritance: extends Illuminate\Translation\FileLoader
Mostra file Open project: overtrue/laravel-lang

Protected Properties

Property Type Description
$paths string

Public Methods

Method Description
__construct ( Illuminate\Filesystem\Filesystem $files, array $path, $paths = [] ) Create a new file loader instance.
load ( string $locale, string $group, string $namespace = null ) : array Load the messages for the given locale.

Method Details

__construct() public method

Create a new file loader instance.
public __construct ( Illuminate\Filesystem\Filesystem $files, array $path, $paths = [] )
$files Illuminate\Filesystem\Filesystem
$path array

load() public method

Load the messages for the given locale.
public load ( string $locale, string $group, string $namespace = null ) : array
$locale string
$group string
$namespace string
return array

Property Details

$paths protected_oe property

protected string $paths
return string