src/PHPDish/Bundle/ForumBundle/Service/ThreadManager.php
public function findThreads(Criteria $criteria)
    {
        return $this->getThreadRepository()->createQueryBuilder('t')
            ->addCriteria($criteria)
            ->getQuery()
            ->getResult();
    }
public function findThreads(Criteria $criteria)
    {
        return $this->getThreadRepository()->createQueryBuilder('t')
            ->addCriteria($criteria)
            ->getQuery()
            ->getResult();
    }
{@inheritdoc}