class ConfigLoader (View source)

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

static ConfigLoader inst()

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

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