VersionPress\Tests\Utils\TestRunnerOptions::getEnvVarValue PHP Method

getEnvVarValue() private method

Small wrapper around getenv() that properly converts something like 'optionName' to 'VP_OPTION_NAME'.
private getEnvVarValue ( string $testingOptionInPropertyConvention ) : string | boolean
$testingOptionInPropertyConvention string Option name in property convention, e.g., 'optionName'
return string | boolean False if env var does not exist, string otherwise
    private function getEnvVarValue($testingOptionInPropertyConvention)
    {
        return getenv(OptionsConventionConverter::getEnvVarOptionName($testingOptionInPropertyConvention));
    }