October\Rain\Config\LoaderInterface

Source: ~/vendor/october/rain/src/Config/LoaderInterface.php

Public methods

public void addNamespace(string $namespace, string $hint)

Add a new namespace to the loader.

Parameters
  • string $namespace
  • string $hint

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

Apply any cascades to an array of package options.

Parameters
  • string $environment
  • string $package
  • string $group
  • array $items

public bool exists(string $group, string $namespace=NULL)

Determine if the given configuration group exists.

Parameters
  • string $group
  • string $namespace

public array getNamespaces()

Returns all registered namespaces with the config loader.

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

Load the given configuration group.

Parameters
  • string $environment
  • string $group
  • string $namespace