title: Laravel - Getting first thread per forum all() result
body: <p>I'm learning VueJS and trying to develop a forum system 
  I am trying to get the latest post from the threads relationship per forum in my forum model.</p>
  
  <p>This is my Forum Model </p>
  
  <pre><code>    &lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  class Forum extends Model
  {
      public $table = 'forums';
      public $timestamps = false;
  
      public function threads() {
          return $this-&gt;hasMany('App\Thread')-&gt;orderBy('id', 'DESC');
      }
  
      public function getFirstThread() {
          return $this-&gt;threads()-&gt;first();
      }
  }
  </code></pre>
  
  <p>So I thought maybe this would work but it didn't</p>
  
  <pre><code>Forum::with('getFirstThread')-&gt;get();
  </code></pre>
  
  <p>Any idea's how I can achieve this without having to loop through everything and getting first thread for every result?</p>
  
  <p><strong>TLDR:</strong> Trying to get the latest Thread per Forum without having to loop through all forums.</p>