public function __construct(Kdyby\Doctrine\EntityManager $entityManager) { parent::__construct($entityManager); $this->entityClassName = Entity\Acl::getClassName(); }
protected function doCreateQuery(Kdyby\Persistence\Queryable $repository) { $qb = $repository->createQueryBuilder()->select('acl')->from(Model\CMS\Entity\Acl::getClassName(), 'acl'); $this->applyFilters($qb); return $qb->getQuery()->useResultCache(TRUE, NULL, Model\CMS\AclFactory::CACHE_TAG); }