title: Laravel Query Builder use multiple times
body: <p>Is it possible to save a query bulider and use it multiple times?</p>
  
  <p>for example, I have a model 'Tour'.</p>
  
  <p>I create a long query buider and paginate it:</p>
  
  <pre><code>$tour = Tour::where(...)-&gt;orWhere(...)-&gt;orderBy(...)-&gt;paginate(10);
  </code></pre>
  
  <p><em>For example, 97 models qualify for the above query.
  "Paginate" method outputs first 10 models qualifying for the query, but I also need to so some operations on all 97 models. 
  I don't want to 'repeat myself' writing this long query 2 times.</em></p>
  
  <p><strong>So I want something like:</strong> </p>
  
  <blockquote>
  <pre><code>$query = Tour::where(...)-&gt;orWhere(...)-&gt;orderBy(...);
  
  $tour1 = $query-&gt;paginate(10); 
  $tour2 = $query-&gt;get();
  </code></pre>
  </blockquote>
  
  <p>Is that a correct way to do in Laravel? (my version is 5.4).</p>