title: Slim 3 - how to get all get/ put/ post variables?
body: <p>How I can get <strong>all</strong> <code>get/ put/ post</code> variables like  in Slim 2 for Slim 3?</p>
  
  <p>Slim 2,</p>
  
  <pre><code>$allGetVars = $app-&gt;request-&gt;get();
  $allPutVars = $app-&gt;request-&gt;put();
  $allPostVars = $app-&gt;request-&gt;post();
  </code></pre>
  
  <p>How can I do that in Slim 3?</p>
  
  <p>And, for example, <code>http://example.com/books/1?title=hello&amp;content=world</code></p>
  
  <p>How can I get the params in <code>title</code> and <code>content</code> in Slim 3 now?</p>
  
  <p>Slim 2,</p>
  
  <pre><code>$title = $app-&gt;request-&gt;get('title');
  $content = $app-&gt;request-&gt;get('content');
  </code></pre>
  
  <p>How can I do that in Slim 3?</p>