<?php

namespace OfficeBrain\Bundle\SubShopBundle\Manager\Service;

use Symfony\Component\HttpFoundation\Request;
use OfficeBrain\Bundle\SubShopBundle\Manager\Extended as SubShopInquiryManager;

/**
 * @author OfficeBrain 4494 <info@officebrain.com>
 * Description: This is service class which returns the instance of subshop inquiry specific class.
 */
class SubShopInquiryService
{
    /**
     * @author Employee Id: 4494
     * Description : Set and return instance of subshop inquiry extended class.
     *
     * @param 1 : Entity manager object
     * @param 2 : Request object
     *
     * @return type : Subshop inquiry extended class instance.
     *
     * @throws Exception: Null
     */
    public static function initFactory($entityManager, $request, $emailManager, $paginatorManager)
    {
        $classInstance = new SubShopInquiryManager\SubShopInquiryExtended($entityManager, $request, $emailManager, $paginatorManager);

        return $classInstance;
    }
}
