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

use OfficeBrain\Bundle\CoreBundle\Manager\AbstractManager\CoreAbstract;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpFoundation\Session\Flash\FlashBag;

/**
 *
 * @author Employee Id: 4273
 * OB eCommerce Product - Core
 * CoreExtended Class Add to override the logic for sign up process
 */

class CoreExtended extends CoreAbstract
{
    private $entityManager;
    protected $session;
    protected $request;

    /**
     * @author Employee Id: 4273
     * Initialize the required variable on class load
     *
    */
    public function __construct($entityManager, $request, $session, $subShopMediaUploadLocation, $country,$serviceContainer)
    {
        parent::__construct($entityManager, $request, $session, $subShopMediaUploadLocation, $country,$serviceContainer);
        $this->entityManager = $entityManager;
        $this->session = $session;
        $this->request = $request;        
    }
    
    function showReferer(){
    	$trace = debug_backtrace();
    	echo "<br/>\n";
    	echo "Class: ".$trace[2]['class'];
    	echo "<br/>\n";
    	echo "Function: ".$trace[2]['function'];
    	echo "<br/>\n";
    	echo "Line: ".$trace[2]['line'];
    	echo "<br/>\n";
    	echo "File: ".$trace[2]['file'];
    	echo "<br/>\n";
    }
}
