title: Laravel Eloquent - Fetch data only if there is a match with data one to many relationship
body: <p>I have a one to many relation setup.</p>
  
  <p>A Customer can have many Students, students can have a status as either Full or Left.</p>
  
  <p>I want to fetch the Customer only if they have Students that are FULL.</p>
  
  <p>I thought Eager Loading would do the trick but it is still returning customers if they have no Full students:</p>
  
  <pre><code>$customers = Customer::with(array('students' =&gt; function($query)
      {
        $query-&gt;where('STATUS', '=', 'FULL');
      }))-&gt;get();
  </code></pre>
  
  <p>Have had a hunt around on Google but couldn't find anything, not really sure how to word this question.</p>
  
  <p>Thanks for your help</p>