Documentation

LoaderInterface

Table of Contents

addNamespace()  : void
Add a new namespace to the loader.
cascadePackage()  : array<string|int, mixed>
Apply any cascades to an array of package options.
exists()  : bool
Determine if the given configuration group exists.
getNamespaces()  : array<string|int, mixed>
Returns all registered namespaces with the config loader.
load()  : array<string|int, mixed>
Load the given configuration group.

Methods

addNamespace()

Add a new namespace to the loader.

public addNamespace(string $namespace, string $hint) : void
Parameters
$namespace : string
$hint : string
Return values
void

cascadePackage()

Apply any cascades to an array of package options.

public cascadePackage(string $environment, string $package, string $group, array<string|int, mixed> $items) : array<string|int, mixed>
Parameters
$environment : string
$package : string
$group : string
$items : array<string|int, mixed>
Return values
array<string|int, mixed>

exists()

Determine if the given configuration group exists.

public exists(string $group[, string $namespace = null ]) : bool
Parameters
$group : string
$namespace : string = null
Return values
bool

getNamespaces()

Returns all registered namespaces with the config loader.

public getNamespaces() : array<string|int, mixed>
Return values
array<string|int, mixed>

load()

Load the given configuration group.

public load(string $environment, string $group[, string $namespace = null ]) : array<string|int, mixed>
Parameters
$environment : string
$group : string
$namespace : string = null
Return values
array<string|int, mixed>

Search results