title: DB query builder toArray() laravel 4
body: <p>I'm trying to convert a query to an array with the method <code>toArray()</code> but it doesn't work for the query builder. Any ideas for convert it?</p>
  
  <p>Example</p>
  
  <pre><code>DB::table('user')-&gt;where('name',=,'Jhon')-&gt;get()-&gt;toArray();
  </code></pre>