Class Env
Helper for handling changing variables in different environments
Known environment variables:
string iam_service_url
the Url to the IAM Servicestring payment_service_url
the Url to the Payment Servicestring locale
language code, use only 2 letters like 'en'package |
NextEvent\PHPSDK\Util |
---|
getEnv() : string
string
getVar(string $key) : mixed
string
mixed
setEnv(string $environment)
string
either PROD, TEST, DEV
setVar(string $key, mixed $value, string $environment = '*')
string
mixed
string