class LoadEnvironmentVariables

Methods

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.

never
writeErrorAndDie(InvalidFileException $e)

Write the error information to the screen and exit.

Details

at line 19
void bootstrap(Application $app)

Bootstrap the given application.

Parameters

Application $app

Return Value

void

at line 40
protected void checkForSpecificEnvironmentFile(Application $app)

Detect if a custom environment file matching the APP_ENV exists.

Parameters

Application $app

Return Value

void

at line 63
protected bool setEnvironmentFilePath(Application $app, string $file)

Load a custom environment file.

Parameters

Application $app
string $file

Return Value

bool

at line 77
protected never writeErrorAndDie(InvalidFileException $e)

Write the error information to the screen and exit.

Parameters

InvalidFileException $e

Return Value

never