title: Limitting Rows For Doctrine FindAll Method
body: <p>i am trying to limit rows which return from doctrine's FindAll method.</p>
  
  <pre><code>public function getActiveUsersByPoint($limit = 100){
      $users = $this-&gt;userRepository-&gt;findAll();
  
      return $users;
  }
  </code></pre>
  
  <p>This code work but i can't use $limit variable for limitting results. How can i done this ?</p>