protected function getEnvValue(string $property, string $prefix, string $shortPrefix)
	{
		$shortPrefix = ltrim($shortPrefix, '\\');
		switch (true)
		{
			case array_key_exists("{$shortPrefix}.{$property}", $_ENV):
				return $_ENV["{$shortPrefix}.{$property}"];
				break;
			case array_key_exists("{$shortPrefix}.{$property}", $_SERVER):
				return $_SERVER["{$shortPrefix}.{$property}"];
				break;
			case array_key_exists("{$prefix}.{$property}", $_ENV):
				return $_ENV["{$prefix}.{$property}"];
				break;
			case array_key_exists("{$prefix}.{$property}", $_SERVER):
				return $_SERVER["{$prefix}.{$property}"];
				break;
			default:
				$value = getenv($property);
				return $value === false ? null : $value;
		}
	}
protected function getEnvValue(string $property, string $prefix, string $shortPrefix)
	{
		$shortPrefix = ltrim($shortPrefix, '\\');
		switch (true)
		{
			case array_key_exists("{$shortPrefix}.{$property}", $_ENV):
				return $_ENV["{$shortPrefix}.{$property}"];
				break;
			case array_key_exists("{$shortPrefix}.{$property}", $_SERVER):
				return $_SERVER["{$shortPrefix}.{$property}"];
				break;
			case array_key_exists("{$prefix}.{$property}", $_ENV):
				return $_ENV["{$prefix}.{$property}"];
				break;
			case array_key_exists("{$prefix}.{$property}", $_SERVER):
				return $_SERVER["{$prefix}.{$property}"];
				break;
			default:
				$value = getenv($property);
				return $value === false ? null : $value;
		}
	}
protected function getEnvValue ( string $ property , string $ prefix , string $ shortPrefix ) { $ shortPrefix = ltrim ( $ shortPrefix , '\\' ) ; switch ( true ) { case array_key_exists ( "{$shortPrefix}.{$property}" , $ _ENV ) : return $ _ENV [ "{$shortPrefix}.{$property}" ] ; break ; case array_key_exists ( "{$shortPrefix}.{$property}" , $ _SERVER ) : return $ _SERVER [ "{$shortPrefix}.{$property}" ] ; break ; case array_key_exists ( "{$prefix}.{$property}" , $ _ENV ) : return $ _ENV [ "{$prefix}.{$property}" ] ; break ; case array_key_exists ( "{$prefix}.{$property}" , $ _SERVER ) : return $ _SERVER [ "{$prefix}.{$property}" ] ; break ; default : $ value = getenv ( $ property ) ; return $ value === false ? null : $ value ; } }
Retrieve an environment-specific configuration setting

@param string $property
@param string $prefix
@param string $shortPrefix

@return mixed
Retrieve an environment - specific configuration setting