Env
class Env (View source)
Methods
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
Details
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