classe Env (Voir la source)

Méthodes

static bool
isLoaded()

Check if env is load

static void
load(string $filename)

Load env file

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

Retrieve information from the environment

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

Allows you to modify the information of the environment

Détails

static bool isLoaded()

Check if env is load

Valeur de retour

bool

static void load(string $filename)

Load env file

Paramètres

string $filename

Valeur de retour

void

Exceptions

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

Retrieve information from the environment

Paramètres

string $key
mixed $default

Valeur de retour

mixed

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

Allows you to modify the information of the environment

Paramètres

string $key
mixed $value

Valeur de retour

bool