EnvironmentVariables
class EnvironmentVariables (View source)
PHP $_ENV loader for protecting sensitive configuration options.
Inspired by the wonderful "Dotenv" library by Vance Lucas.
Properties
protected EnvironmentVariablesLoaderInterface | $loader | The environment loader implementation. |
Methods
void | __construct(EnvironmentVariablesLoaderInterface $loader) The server environment instance. | |
load(string $environment = null) Load the server variables for a given environment. |
Details
void __construct(EnvironmentVariablesLoaderInterface $loader)
The server environment instance.
load(string $environment = null)
Load the server variables for a given environment.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.5/Illuminate/Config/EnvironmentVariables.html