title: get the last element in doctrine2/symfony2
body: <p>i have relation ManyToOne between two entity  Collaborateur and Conge.</p>
  
  <pre><code> /**
   * @ORM\ManyToOne(targetEntity="Collaborateur", inversedBy="collaborateur", cascade={"remove"})
   * @ORM\JoinColumn(name="collaborateur_id", referencedColumnName="id")
   */
  protected $collaborateur;
  </code></pre>
  
  <p>In my CongeManager i have this function:</p>
  
  <pre><code> public function findCongeByCollaborateur ($collaborateur){
          return $this-&gt;getRepository()-&gt;findOneBy(array('collaborateur'=&gt;$collaborateur));
      }
  </code></pre>
  
  <p>it return just the first element of Conge i want to get the last one .</p>