protected function tryToLoadFromEnvironment(array $names)
    {
        $ret = array();
        foreach ($names as $name) {
            $envName = $this->getEnvName($name);
            $value = getenv($envName);
            if ($value !== false) {
                $ret[$name] = $value;
            }
        }
        return $ret;
    }
protected function tryToLoadFromEnvironment(array $names)
    {
        $ret = array();
        foreach ($names as $name) {
            $envName = $this->getEnvName($name);
            $value = getenv($envName);
            if ($value !== false) {
                $ret[$name] = $value;
            }
        }
        return $ret;
    }
protected function tryToLoadFromEnvironment ( array $ names ) { $ ret = array ( ) ; foreach ( $ names as $ name ) { $ envName = $ this -> getEnvName ( $ name ) ; $ value = getenv ( $ envName ) ; if ( $ value !== false ) { $ ret [ $ name ] = $ value ; } } return $ ret ; }
Try to load the given variables from environment variables
Returns an array with names as keys and possible found values

@param array $names
@return array
Try to load the given variables from environment variables Returns an array with names as keys and possible found values