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

use Symfony\Component\HttpFoundation\Request;
use OfficeBrain\Bundle\CoreBundle\Manager\Extended as CoreManager;
/**
 * @author OfficeBrain 5460 <info@officebrain.com>
 * Description: This is service class which returns the instance of device detect specific class.
 */
class DeviceDetectService
{
    /**
     * @author Employee Id: 5460
     * OB eCommerce Product - Core
     * Function created for decied the name of extented class
     * @return ClassInstance
    */
    public static function initFactory($entityManager, $request, $deviceAppDownloadType)
    {
        $classInstance=new CoreManager\DeviceDetectExtended($entityManager, $request, $deviceAppDownloadType);
        
        return $classInstance;
    }
}
