title: Eloquent HasMany with BelongsTo
body: <p>A need to return something like that:</p>
  <pre><code> list_users : 
      [ 
         { &quot;id_user&quot; : 1, 
           &quot;address&quot; : { 
              &quot;id_address&quot; : 1, 
              &quot;num_address&quot; : &quot;abc&quot;
           } 
         },
         { &quot;id_user&quot; : 2, 
           &quot;address&quot; : { 
              &quot;id_address&quot; : 2, 
              &quot;num_address&quot; : &quot;def&quot;
          } 
         }
      ]
  </code></pre>
  <pre><code>class List extends Eloquent{ public function listUsers() { return $this-&gt;hasMany(User::class,'idUser'); } }
  
  class User extends Eloquent{ public function address() { return $this-&gt;belongsTo(Address::class); } }
  </code></pre>
  <p>I call this:</p>
  <pre><code> return List::with('listUsers.address');
  </code></pre>
  <p>The question is how can i call correctly?</p>