title: How to add new item in collection?
body: <p>I try to add a new item in collection:</p>
  
  <pre><code>$collection-&gt;prepend("Name", 0);
  </code></pre>
  
  <p>But it does not work for collection structure <a href="https://i.stack.imgur.com/KyowS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KyowS.png" alt="enter image description here"></a></p>
  
  <p>Full code is:</p>
  
  <pre><code>$cities = City::where("country_id", $id)-&gt;get();
  $cities = Helper::firstEmptyValue($cities);
  
  
  public static function firstEmptyValue($collection)
  {
  
  return $collection = $collection-&gt;prepend("Name", 0);
  }
  </code></pre>