title: Laravel Eloquent - Get all records of child relation model
body: <p>My data model is this:
  Users > Offices > Organization</p>
  
  <p>This is my model</p>
  
  <pre><code>class Organization extends Model  {
  
      protected $table = 'organizations';
  
      public function offices()
      {
          return $this-&gt;hasMany('App\Models\Office');
      }
  
      public function users()
      {
          return $this-&gt;offices()-&gt;users();
      }
  ....
  </code></pre>
  
  <p>So.. I want to get all users from an organization (of all the offices).
  But I don't know how to do something like </p>
  
  <pre><code>$this-&gt;offices()-&gt;users();
  </code></pre>
  
  <p>(Avoiding user a manual collection or map to do that)</p>
  
  <p>Thanks!</p>