title: Retrieving relationships of relationships using Eloquent in Laravel
body: <p>I have a database with the following tables and relationships:</p>
  
  <p>Advert <code>1-1</code> Car <code>m-1</code> Model <code>m-1</code> Brand</p>
  
  <p>If I want to retrieve an Advert, I can simply use:</p>
  
  <pre><code>Advert::find(1);
  </code></pre>
  
  <p>If I want the details of the car, I could use:</p>
  
  <pre><code>Advert::find(1)-&gt;with('Car');
  </code></pre>
  
  <p>However, if I also want the detail of the Model (following the relationship with Car), what would the syntax be, the following doesn't work:</p>
  
  <pre><code>Advert::find(1)-&gt;with('Car')-&gt;with('Model');
  </code></pre>
  
  <p>Many thanks</p>