title: Laravel 4: How to trim every Input::all() data?
body: <p>My usual way of trimming user input in a laravel controller is like this:</p>
  
  <pre><code>public function __construct()
  {
      if (isset($_POST)) $_POST = array_map('trim', $_POST);
      if (isset($_GET)) $_GET = array_map('trim', $_GET);
  }
  </code></pre>
  
  <p>How do I trim an <code>Input</code> class in laravel in a similar way?</p>
  
  <p>-- SOLVED --</p>
  
  <p>Nevermind, I find <code>Input::merge()</code> already</p>