<?php

namespace OfficeBrain\Bundle\FeedBackBundle\Entity;

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


/**
 * SiteFeedBackRepository
 *
 * This class was generated by the Doctrine ORM. Add your own custom
 * repository methods below.
 */
class SiteFeedBackRepository extends \Doctrine\ORM\EntityRepository
{
	/**
	 * @author Employee Id: 4493
	 * OB eCommerce Product - addSiteFeedBack
	 * Function created for add feed back to records	 
	 */
	public function addSiteFeedBack($siteFeedBackObj)
	{
		$em = $this->getEntityManager();
		$em->persist($siteFeedBackObj);
		$em->flush();
		return $siteFeedBackObj;		
	}
	
}
