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

use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\DependencyInjection\ContainerInterface as Container;
use OfficeBrain\Bundle\BlogBundle\Manager\Extended as BlogManager;

/**
 *
 * @author Officebrain 4571 <info@officebrain.com>
 *
 * Description: Return class instance
 *
 */
class BlogService
{
    /**
     * @author Employee Id: 4571
     *
     * Description : Set and return instance of class
     *
     * @param $entityManager
     * @param $request
     *
     * @return Class Instance
     *
     * @throws null
     */
    public static function initFactory($entityManager, $request, $translator, $knpPaginator, $country, $language)
    {
        $classInstance=new BlogManager\BlogExtended($entityManager, $request, $translator, $knpPaginator, $country, $language);
        return $classInstance;
    }
}
