src/PHPDish/Bundle/PostBundle/Service/CategoryManager.php
public function findCategories(Criteria $criteria)
    {
        return $this->getCategoryRepository()->createQueryBuilder('c')
            ->addCriteria($criteria)
            ->getQuery()
            ->getResult();
    }
public function findCategories(Criteria $criteria)
    {
        return $this->getCategoryRepository()->createQueryBuilder('c')
            ->addCriteria($criteria)
            ->getQuery()
            ->getResult();
    }
{@inheritdoc}