title: Unable to access certain properties of the ZF2 request object
body: <p>I'm testing <code>ZF2</code> beta4 at the moment, and I'm having some issues accessing some of the request properties from my controller.</p>
  
  <p>From inside the <code>indexAction()</code>, here is an extract of what I get for the request object</p>
  
  <p><code>var_dump($this-&gt;request);</code> gives me:</p>
  
  <pre><code>object(Zend\Http\PhpEnvironment\Request)#119 (14) {
  
    ["baseUrl":protected]=&gt;
      string(0) ""
  
    [...]
  
    ["version":protected]=&gt;
      string(3) "1.1"
  
    ["queryParams":protected]=&gt;
      object(Zend\Stdlib\Parameters)#122 (1) {
        ["storage":"ArrayObject":private]=&gt;
        array(3) {
          ["q"]=&gt;
          string(0) ""
          ["param1"]=&gt;
          string(6) "value1"
          ["param2"]=&gt;
          string(6) "value2"
        }
      }
  </code></pre>
  
  <p>I can access some of the properties:<br>
  <code>var_dump($this-&gt;request-&gt;getBaseUrl());</code>  -> <code>string(0) ""</code><br>
  <code>var_dump($this-&gt;request-&gt;getVersion());</code>  -> <code>string(3) "1.1"</code>  </p>
  
  <p>But I am having issues with others, for instance <code>$this-&gt;request-&gt;getQueryParams()</code> returns:</p>
  
  <blockquote>
    <p>Call to undefined method
    Zend\Http\PhpEnvironment\Request::getQueryParams()</p>
  </blockquote>
  
  <p>From there I have a few questions:<br>
  <strong>-Am I doing something wrong?</strong><br>
  If not:<br>
  <strong>-How can I access the <code>queryParams</code> property?</strong><br>
  <strong>-Is it common practice not to have methods to access certain properties (if so what's the point of having these properties if I can't access them) ?</strong>  </p>