class LoadConfiguration (View source)

Methods

void
bootstrap(Application $app)

Bootstrap the given application.

void
loadConfigurationFiles(Application $app, Repository $repository)

Load the configuration items from all of the files.

array
getConfigurationFiles(Application $app)

Get all of the configuration files for the application.

string
getNestedDirectory(SplFileInfo $file, string $configPath)

Get the configuration file nesting path.

Details

void bootstrap(Application $app)

Bootstrap the given application.

Parameters

Application $app

Return Value

void

protected void loadConfigurationFiles(Application $app, Repository $repository)

Load the configuration items from all of the files.

Parameters

Application $app
Repository $repository

Return Value

void

Exceptions

Exception

protected array getConfigurationFiles(Application $app)

Get all of the configuration files for the application.

Parameters

Application $app

Return Value

array

protected string getNestedDirectory(SplFileInfo $file, string $configPath)

Get the configuration file nesting path.

Parameters

SplFileInfo $file
string $configPath

Return Value

string