class ConfigLoader (View source)

Registers config sources via ConfigCollectionInterface

Properties

protected ConfigCollectionInterface[] $manifests

Methods

public static 
inst()

No description

public
getManifest()

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

public
bool
hasManifest()

Returns true if this class loader has a manifest.

public
pushManifest(ConfigCollectionInterface $manifest)

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

public
popManifest()

No description

public
int
countManifests()

Check number of manifests

public
nest()

Nest the config loader and activates it

public
$this
activate()

Mark this instance as the current instance

Details

static ConfigLoader inst()

No description

Return Value

ConfigLoader

ConfigCollectionInterface 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.

Return Value

bool

pushManifest(ConfigCollectionInterface $manifest)

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

Parameters

ConfigCollectionInterface $manifest

ConfigCollectionInterface popManifest()

No description

int countManifests()

Check number of manifests

Return Value

int

ConfigLoader nest()

Nest the config loader and activates it

Return Value

ConfigLoader

$this activate()

Mark this instance as the current instance

Return Value

$this