FileEnvironmentVariablesLoader
class FileEnvironmentVariablesLoader implements EnvironmentVariablesLoaderInterface (View source)
Properties
protected Filesystem | $files | The filesystem instance. |
|
protected string | $path | The path to the configuration files. |
Methods
void
array
load(string $environment = null)
Load the environment variables for the given environment.
string
getFile(string $environment)
Get the file for the given environment.
Details
void
__construct(Filesystem $files, string $path = null)
Create a new file environment loader instance.
array
load(string $environment = null)
Load the environment variables for the given environment.
protected string
getFile(string $environment)
Get the file for the given environment.