class Parser (View source)

Constants

REGEX_QUOTES

REGEX_VAR

REGEX_INTERPOLATE

Methods

setValue(string $value)

Define the value that will be processed

putFallback(string $name, string $value)

Adds alternative values if they don't exist in $_ENV[...]

string
output()

Get the processed value

Details

setValue(string $value)

Define the value that will be processed

Parameters

string $value

putFallback(string $name, string $value)

Adds alternative values if they don't exist in $_ENV[...]

Parameters

string $name
string $value

string output()

Get the processed value

Return Value

string