title: Laravel - Return polymorphic relation grouped
body: <p>I have a polymorphic relation :</p>
  
  <pre><code>Fields :
  value
  type
  fieldable_id
  fieldable_type
  
  
  Customer :
  id
  name
  ...
  </code></pre>
  
  <p>I can acces my fields with $customer->fields</p>
  
  <p>But I want to get my fields grouped by type like this :</p>
  
  <pre><code>phone =&gt; [Object Field]
           [Object Field 2]
  email =&gt; [Object Field 3]
           [Object Field 4]
  </code></pre>
  
  <p>How can I do it?</p>
  
  <p>I try with <code>groupBy</code> but it has merged all of it into one and I have lost the others</p>
  
  <p>Thank you :)</p>