title: Getting all request parameters in Symfony 2
body: <p>In symfony 2 controllers, every time I want to get a value from post I need to run:</p>
  
  <pre><code>$this-&gt;getRequest()-&gt;get('value1');
  $this-&gt;getRequest()-&gt;get('value2');
  </code></pre>
  
  <p>Is there any way to consolidate these into one statement that would return an array? Something like Zend's getParams()?</p>