LoadConfiguration
class LoadConfiguration (View source)
Properties
| static protected | $alwaysUseConfig | The closure that resolves the permanent, static configuration if applicable. |
Methods
void
void
loadConfigurationFiles(Application $app, Repository $repository)
Load the configuration items from all of the files.
array
loadConfigurationFile(Repository $repository, string $name, string $path, array $base)
Load the given configuration file.
array
mergeableOptions(string $name)
Get the options within the configuration file that should be merged again.
array
string
array
getBaseConfiguration()
Get the base configuration files.
Details
void
bootstrap(Application $app)
Bootstrap the given application.
protected void
loadConfigurationFiles(Application $app, Repository $repository)
Load the configuration items from all of the files.
protected array
loadConfigurationFile(Repository $repository, string $name, string $path, array $base)
Load the given configuration file.
protected array
mergeableOptions(string $name)
Get the options within the configuration file that should be merged again.
protected array
getConfigurationFiles(Application $app)
Get all of the configuration files for the application.
protected string
getNestedDirectory(SplFileInfo $file, string $configPath)
Get the configuration file nesting path.
protected array
getBaseConfiguration()
Get the base configuration files.
static void
alwaysUse(Closure|null $alwaysUseConfig)
Set a callback to return the permanent, static configuration values.