src/PHPDish/Bundle/UserBundle/Service/UserManager.php
public function findTopicVoters(TopicInterface $topic, $page, $limit = null)
    {
        $query = $this->getRepository()->createQueryBuilder('u')
            ->innerJoin('u.votedTopics', 'vt')
            ->where('vt.id = :topicId')->setParameter('topicId', $topic->getId())
            ->getQuery();

        return $this->createPaginator($query, $page, $limit);
    }
public function findTopicVoters(TopicInterface $topic, $page, $limit = null)
    {
        $query = $this->getRepository()->createQueryBuilder('u')
            ->innerJoin('u.votedTopics', 'vt')
            ->where('vt.id = :topicId')->setParameter('topicId', $topic->getId())
            ->getQuery();

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