title: How to edit items in laravel collection
body: <p>I am new in laravel, I run a query and get rows from database and I want to edit a column of this rows before get them in view. 
  So here is my code piece :</p>
  
  <pre><code>$callPlans = CustomerCallPlan::whereNotNull('id');
  
  foreach ($callPlans-&gt;get() as $callPlan) {
      dd($callPlan);
  }
  </code></pre>
  
  <p>And the output screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/3Ik7M.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3Ik7M.png" alt="enter image description here"></a></p>
  
  <p>I need to replace all the 'x' characters with '-' of <code>numbertemplate</code> column.. </p>