class LoadEnvironmentVariables (View source)
void | bootstrap(Application $app) Bootstrap the given application. | |
void | checkForSpecificEnvironmentFile(Application $app) Detect if a custom environment file matching the APP_ENV exists. | |
bool | setEnvironmentFilePath(Application $app, string $file) Load a custom environment file. | |
Dotenv | createDotenv(Application $app) Create a Dotenv instance. | |
void | writeErrorAndDie(InvalidFileException $e) Write the error information to the screen and exit. |
Bootstrap the given application.
Detect if a custom environment file matching the APP_ENV exists.
Load a custom environment file.
Create a Dotenv instance.
Write the error information to the screen and exit.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.html