EnvironmentVariables (Config)

EnvironmentVariables

class EnvironmentVariables (View source)

PHP $_ENV loader for protecting sensitive configuration options.

Inspired by the wonderful "Dotenv" library by Vance Lucas.

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.

Parameters

EnvironmentVariablesLoaderInterface $loader

Return Value

void

load(string $environment = null)

Load the server variables for a given environment.

Parameters

string $environment

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Config/EnvironmentVariables.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部