class Env (View source)

Methods

static bool
isLoaded()

Check if env is load

static 
load($filename)

Load env file

static mixed
get(string $key, null $default = null)

Retrieve information from the environment

static mixed
set(string $key, null $value)

Allows you to modify the information of the environment

Details

static bool isLoaded()

Check if env is load

Return Value

bool

static load($filename)

Load env file

Parameters

$filename

static mixed get(string $key, null $default = null)

Retrieve information from the environment

Parameters

string $key
null $default

Return Value

mixed

static mixed set(string $key, null $value)

Allows you to modify the information of the environment

Parameters

string $key
null $value

Return Value

mixed