-
Env constructor.
-
Check whether environment has the key.
-
Retrieve a single key from the environment.
-
Assigns a value to the specified environment key.
-
Remove environment key.
-
getData() : arrayFetch all data.
-
public function __construct(variable $data)
Env constructor. -
public function has(string $key)
Check whether environment has the key. -
public function get(string $key, variable $defaultValue, bool $required)
Retrieve a single key from the environment. -
public function set(string $key, variable $value)
Assigns a value to the specified environment key. -
public function remove(string $key)
Remove environment key. -
public function getData()
Fetch all data.