title: How to append to a CakePHP3 ResultSet?
body: <p>I have a query (a Query object):</p>
  
  <pre><code>$joblineitems = $this-&gt;JobLineItems-&gt;find('all');
  </code></pre>
  
  <p>It has results (a ResultSet object):</p>
  
  <pre><code>$joblineitemsresults = $joblineitems-&gt;all();
  </code></pre>
  
  <p>The ResultSet object is an Iterable such that a foreach() loop will return each of the JobLineItem objects.</p>
  
  <p>I simply want to add an additional result to $joblineitemsresults - specifically I want to append a $this->JobLineItems->newEntity() to the end of the results so that when I subsequently paginate $joblineitemsresults and loop through it in the view, the last object in the loop on the last page will be a blank object with the property new=true.</p>
  
  <p>How can I manually append an extra result to a ResultSet object?</p>