FileLoader::__construct()

void __construct(Filesystem $files, string $defaultPath) Create a new file configuration loader. Parameters Filesystem $files string $defaultPath Return Value void

FileLoader::__construct()

void __construct(Filesystem $files, string $path) Create a new file loader instance. Parameters Filesystem $files string $path Return Value void

FileLoader::load()

array load(string $environment, string $group, string $namespace = null) Load the given configuration group. Parameters string $environment string $group string $namespace Return Value array

FileLoader::load()

array load(string $locale, string $group, string $namespace = null) Load the messages for the given locale. Parameters string $locale string $group string $namespace Return Value array

FileLoader::getNamespaces()

array getNamespaces() Returns all registered namespaces with the config loader. Return Value array

FileLoader::getFilesystem()

Filesystem getFilesystem() Get the Filesystem instance. Return Value Filesystem

FileLoader::exists()

bool exists(string $group, string $namespace = null) Determine if the given group exists. Parameters string $group string $namespace Return Value bool

FileLoader::cascadePackage()

array cascadePackage(string $env, string $package, string $group, array $items) Apply any cascades to an array of package options. Parameters string $env string $package string $group array $items Return Value array

FileLoader::addNamespace()

void addNamespace(string $namespace, string $hint) Add a new namespace to the loader. Parameters string $namespace string $hint Return Value void

FileLoader::addNamespace()

void addNamespace(string $namespace, string $hint) Add a new namespace to the loader. Parameters string $namespace string $hint Return Value void