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

use Symfony\Component\HttpFoundation\Request;
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\Response;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpFoundation\Session\Flash\FlashBag;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use OfficeBrain\Bundle\UserBundle\Manager\Extended as ContactBookManager;

class ContactBookService
{
    public static function initFactory($entityManager, $request, $sessionManager, $paginatorManager)
    {
        $classInstance = new ContactBookManager\ContactBookExtended($entityManager, $request, $sessionManager, $paginatorManager);

        return $classInstance;
    }
}
