src/PHPDish/Bundle/UserBundle/Service/UserManager.php
public function findCommentVoters(CommentInterface $comment, $page, $limit = null)
    {
        $query = $this->getRepository()->createQueryBuilder('u')
            ->innerJoin('u.votedComments', 'vc')
            ->where('vc.id = :commentId')->setParameter('commentId', $comment->getId())
            ->getQuery();

        return $this->createPaginator($query, $page, $limit);
    }
public function findCommentVoters(CommentInterface $comment, $page, $limit = null)
    {
        $query = $this->getRepository()->createQueryBuilder('u')
            ->innerJoin('u.votedComments', 'vc')
            ->where('vc.id = :commentId')->setParameter('commentId', $comment->getId())
            ->getQuery();

        return $this->createPaginator($query, $page, $limit);
    }
{@inheritdoc}