<?php

namespace Market\ZodacoBundle\Entity;

use Doctrine\ORM\EntityRepository;

/**
 * InformationsRepository
 *
 * This class was generated by the Doctrine ORM. Add your own custom
 * repository methods below.
 */
class InformationsRepository extends EntityRepository
{
    public function _getAdminCatlist() {
        $q = 'SELECT c FROM MarketZodacoBundle:Informations c ORDER BY c.id DESC';
        return $this->getEntityManager()
                        ->createQuery($q)
                        ->getResult();
    }
}
