October\Rain\Foundation\Bootstrap\LoadEnvironmentVariables

Source: ~/vendor/october/rain/src/Foundation/Bootstrap/LoadEnvironmentVariables.php

Public methods

public void bootstrap(Illuminate\Contracts\Foundation\Application $app)

Bootstrap the given application.

Parameters
  • Illuminate\Contracts\Foundation\Application $app

Protected methods

protected void checkForSpecificEnvironmentFile(Illuminate\Contracts\Foundation\Application $app)

Detect if a custom environment file matching the APP_ENV exists.

Parameters
  • Illuminate\Contracts\Foundation\Application $app

protected void setEnvironmentFilePath(Illuminate\Contracts\Foundation\Application $app, string $file)

Load a custom environment file.

Parameters
  • Illuminate\Contracts\Foundation\Application $app
  • string $file