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

use Symfony\Component\DependencyInjection\ContainerInterface as Container;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\Translation\Translator;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpFoundation\Session\Flash\FlashBag;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use OfficeBrain\Bundle\CoreBundle\Manager\Extended as CoreManager;

/**
 * @author Employee Id: 4273
 * OB eCommerce Product - Core
 * CoreServiceClass
 * - Define the extended class
 *
 */
class CoreService
{
    /**
     * @author Employee Id: 4273
     * OB eCommerce Product - Core
     * Function created for decied the name of extented class
     * @return ClassInstance
    */
    public static function initFactory($entityManager, $request, $session, $subShopMediaUploadLocation, $country,$serviceContainer)
    {
        $classInstance=new CoreManager\CoreExtended($entityManager, $request, $session, $subShopMediaUploadLocation, $country,$serviceContainer);
        return $classInstance;
    }
}
