private function initServer() {
        $this->http = new Object();
        $this->server = new Object();

        foreach ($_SERVER as $key => $val) {
            $key = str_replace('request_', '', strtolower($key));
            if (substr($key, 0, 5) === 'http_') {
                $this->http->{Util::_toCamel(substr($key, 5))} = $val;
            }
            elseif (substr($key, 0, 7) === 'server_') {
                $this->server->{Util::_toCamel(substr($key, 7))} = $val;
            }
            else {
                $this->{Util::_toCamel($key)} = $val;
            }
        }
    }
private function initServer() {
        $this->http = new Object();
        $this->server = new Object();

        foreach ($_SERVER as $key => $val) {
            $key = str_replace('request_', '', strtolower($key));
            if (substr($key, 0, 5) === 'http_') {
                $this->http->{Util::_toCamel(substr($key, 5))} = $val;
            }
            elseif (substr($key, 0, 7) === 'server_') {
                $this->server->{Util::_toCamel(substr($key, 7))} = $val;
            }
            else {
                $this->{Util::_toCamel($key)} = $val;
            }
        }
    }
private function initServer ( ) { $ this -> http = new Object ( ) ; $ this -> server = new Object ( ) ; foreach ( $ _SERVER as $ key => $ val ) { $ key = str_replace ( 'request_' , '' , strtolower ( $ key ) ) ; if ( substr ( $ key , 0 , 5 ) === 'http_' ) { $ this -> http -> { Util :: _toCamel ( substr ( $ key , 5 ) ) } = $ val ; } elseif ( substr ( $ key , 0 , 7 ) === 'server_' ) { $ this -> server -> { Util :: _toCamel ( substr ( $ key , 7 ) ) } = $ val ; } else { $ this -> { Util :: _toCamel ( $ key ) } = $ val ; } } }
initializes server values
initializes server values