class ConfigLoader

Registers config sources via ConfigCollectionInterface

Methods

static ConfigLoader
inst()

No description

getManifest()

Returns the currently active class manifest instance that is used for loading classes.

bool
hasManifest()

Returns true if this class loader has a manifest.

pushManifest(ConfigCollectionInterface $manifest)

Pushes a class manifest instance onto the top of the stack.

int
countManifests()

Check number of manifests

nest()

Nest the config loader and activates it

$this
activate()

Mark this instance as the current instance

Details

at line 27
static ConfigLoader inst()

Return Value

ConfigLoader

at line 38
ConfigCollectionInterface getManifest()

Returns the currently active class manifest instance that is used for loading classes.

at line 56
bool hasManifest()

Returns true if this class loader has a manifest.

Return Value

bool

at line 66
pushManifest(ConfigCollectionInterface $manifest)

Pushes a class manifest instance onto the top of the stack.

Parameters

ConfigCollectionInterface $manifest

at line 74
ConfigCollectionInterface popManifest()

at line 84
int countManifests()

Check number of manifests

Return Value

int

at line 94
ConfigLoader nest()

Nest the config loader and activates it

Return Value

ConfigLoader

at line 112
$this activate()

Mark this instance as the current instance

Return Value

$this