title: Doctrine 2 ArrayCollection filter method
body: <p>Can I filter out results from an arrayCollection in Doctrine 2 while using lazy loading? For example,</p>
  
  <pre><code>// users = ArrayCollection with User entities containing an "active" property
  $customer-&gt;users-&gt;filter('active' =&gt; TRUE)-&gt;first()
  </code></pre>
  
  <p>It's unclear for me how the filter method is actually used.</p>