class Illuminate / Foundation / Bootstrap / LoadEnvironmentVariables
You are viewing an older version of the documentation. For the latest, please visit master documentation.

LoadEnvironmentVariables

Methods

public

bootstrap ( Application $app ) : void

Bootstrap the given application.

Parameters

protected

checkForSpecificEnvironmentFile ( $app ) : void

Detect if a custom environment file matching the APP_ENV exists.

Parameters

protected

setEnvironmentFilePath ( $app , $file ) : bool

Load a custom environment file.

Parameters

protected

createDotenv ( $app ) : Dotenv\Dotenv

Create a Dotenv instance.

Parameters

protected

writeErrorAndDie ( Dotenv\...\InvalidFileException $e ) : void

Write the error information to the screen and exit.

Parameters

  • $e Dotenv\...\InvalidFileException