title: Symfony2: How to get the latest reply to a post using QueryBuilder
body: <p>I known that in sql statement the latest reply can be get by adding "order by created DESC limit 0,1"</p>
  
  <p>But how can i get it using QueryBuilder?
  I have refered to the document of QueryBuilder . There is no limit() function.</p>