public function paginate($start, $limit, $fetchJoinCollection = true)
    {
        $this->setFirstResult($start)
             ->setMaxResults($limit);

        return new Paginator($this, $fetchJoinCollection);
    }
public function paginate($start, $limit, $fetchJoinCollection = true)
    {
        $this->setFirstResult($start)
             ->setMaxResults($limit);

        return new Paginator($this, $fetchJoinCollection);
    }
public function paginate ( $ start , $ limit , $ fetchJoinCollection = true ) { $ this -> setFirstResult ( $ start ) -> setMaxResults ( $ limit ) ; return new Paginator ( $ this , $ fetchJoinCollection ) ; }
Get Results paginated.

@param  integer $start
@param  integer $limit

@return Doctrine\ORM\Tools\Pagination\Paginator
Get Results paginated .