LoadEnvironmentVariables
in package
Table of Contents
- bootstrap() : void
- Bootstrap the given application.
- checkForSpecificEnvironmentFile() : void
- Detect if a custom environment file matching the APP_ENV exists.
- setEnvironmentFilePath() : bool
- Load a custom environment file.
Methods
bootstrap()
Bootstrap the given application.
public
bootstrap(Application $app) : void
Parameters
- $app : Application
Return values
void —checkForSpecificEnvironmentFile()
Detect if a custom environment file matching the APP_ENV exists.
protected
checkForSpecificEnvironmentFile(Application $app) : void
Parameters
- $app : Application
Return values
void —setEnvironmentFilePath()
Load a custom environment file.
protected
setEnvironmentFilePath(Application $app, string $file) : bool
Parameters
- $app : Application
- $file : string