LoadConfiguration
class LoadConfiguration (View source)
Properties
| static protected Application): array<array-key, mixed>|null | $alwaysUseConfig | The closure that resolves the permanent, static configuration if applicable. |
Methods
Load the configuration items from all of the files.
Load the given configuration file.
Get the options within the configuration file that should be merged again.
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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.