\duncan3dc\EnvEnvironmentInterface

Summary

Methods
Constants
has()
get()
set()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

has()

has(string  $var) : boolean

Check if a specific environment variable exists.

Parameters

string $var

The name of the variable to check

Returns

boolean

get()

get(string  $var) : mixed

Get a specific environment variable.

Parameters

string $var

The name of the variable to retrieve

Returns

mixed

set()

set(string  $var, string|integer|boolean  $value) : void

Override an environment variable.

Parameters

string $var

The name of the variable to set

string|integer|boolean $value

The value of the environment variable