<?php
namespace OfficeBrain\Bundle\FeedBackBundle\Manager\Service;

use Symfony\Component\HttpFoundation\Request as Request;
use Doctrine\ORM\EntityManager as EntityManager;
use OfficeBrain\Bundle\FeedBackBundle\Manager\Extended as SiteFeedBackExtendedeManager;

/**
 * @author OfficeBrain 4493
 * Description : This is the service class. Or also called as factory class.
 *
 **/
class SiteFeedBackService
{
    /**
     * @author Employee Id: 4493
     *
     * Description : This is the factory function. It is used to create the extended class object.
     * @return Extended Class Object
     * @throws Exception : Null
     *
     **/
    public static function initFactory($entityManager, $request, $session,$emailService)
    {
        $classInstance = new SiteFeedBackExtendedeManager\SiteFeedBackExtended($entityManager, $request, $session,$emailService);
        return $classInstance;
    }
}
