title: How to add new value in collection laravel?
body: <p>I have the following loop where I try to add a new value:</p>
  
  <pre><code> foreach ($pro-&gt;sig()-&gt;get() as $key =&gt; $sig) {
              $sig-&gt;val = 2;
          }
  </code></pre>
  
  <p>When I print the output of <code>$pro-&gt;sig()</code> I don't have the new value <code>$sig-&gt;val</code></p>