Class DatabaseLoader

Concrete\Core\Config\DatabaseLoader implements Concrete\Core\Config\LoaderInterface

Methods summary

public array
# load( string $environment, string $group, string $namespace = null )

Load the given configuration group. Because it's the database, we ignore the environment.

public boolean
# exists( string $group, string $namespace = null )

Determine if the given configuration group exists.

# addNamespace( string $namespace, string $hint )

Add a new namespace to the loader.

public array
# getNamespaces( )

Returns all registered namespaces with the config loader.

public array
# cascadePackage( string $environment, string $package, string $group, array $items )

Apply any cascades to an array of package options.

# clearNamespace( $namespace )