private static function setServerParam($server, $arr)
    {
        foreach ($arr as $key => $value) {
            if (array_key_exists($value, $server)) {
                $server[$key] = $server[$value];
            }
        }

        return $server;
    }