src/PHPDish/Bundle/PostBundle/Service/CommentManager.php
public function findComments(Criteria $criteria)
    {
        return $this->getCommentRepository()->createQueryBuilder('c')
            ->join('c.user', 'cu')->addSelect('cu')
            ->addCriteria($criteria)
            ->getQuery()
            ->getResult();
    }
public function findComments(Criteria $criteria)
    {
        return $this->getCommentRepository()->createQueryBuilder('c')
            ->join('c.user', 'cu')->addSelect('cu')
            ->addCriteria($criteria)
            ->getQuery()
            ->getResult();
    }
{@inheritdoc}