<?php

namespace OfficeBrain\Bundle\FeedBackBundle\Entity;

use Doctrine\ORM\EntityRepository;
use Symfony\Component\Form\FormError;
use Symfony\Component\Translation\Translator;

/**
 * SiteFeedBackCategoryRepository
 *
 * This class was generated by the Doctrine ORM. Add your own custom
 * repository methods below.
 */
class SiteFeedBackCategoryRepository extends \Doctrine\ORM\EntityRepository
{
	
	/**
	 * @author Employee Id: 4493
	 * OB eCommerce Product - getDistributorsState
	 * Function created to  get State of Distributors
	 */
	public function getSiteFeedBackCategory()
	{
		return $query =	$this->createQueryBuilder('c')
							 ->select('c')
						 	 ->orderBy('c.id')		
				 		 	 ->getQuery()->getArrayResult();		
	}
	
}
