LoadEnvironmentVariables

class LoadEnvironmentVariables (View source)

Methods

void bootstrap(Application $app)

Bootstrap the given application.

void checkForSpecificEnvironmentFile(Application $app)

Detect if a custom environment file matching the APP_ENV exists.

void setEnvironmentFilePath(Application $app, string $file)

Load a custom environment file.

Details

void bootstrap(Application $app)

Bootstrap the given application.

Parameters

Application $app

Return Value

void

protected void checkForSpecificEnvironmentFile(Application $app)

Detect if a custom environment file matching the APP_ENV exists.

Parameters

Application $app

Return Value

void

protected void setEnvironmentFilePath(Application $app, string $file)

Load a custom environment file.

Parameters

Application $app
string $file

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.5/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.html