<?php 

namespace OfficeBrain\Bundle\UserBundle\Manager\Extended;

use OfficeBrain\Bundle\UserBundle\Manager\AbstractManager\BiosAbstract;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpFoundation\Session\Flash\FlashBag;
use OfficeBrain\Bundle\UserBundle\Entity\User;
use OfficeBrain\Bundle\UserBundle\Entity\EmployeeInfo;
use OfficeBrain\Bundle\UserBundle\Form\UserType;

class BiosExtended extends BiosAbstract
{
	/**
	 * Initialize the required variable on class load
	 *
	 */
	
	public function __construct($entityManager, $request, $session)
	{
		parent::__construct($entityManager, $request, $session);
	}
	
	public function __destruct()
	{
		parent::__destruct();
	}
	
	/**
	 * @author Employee Id: 5051
	 * OB eCommerce Product - Get Employee Details
	 * Function created to get Employee Details
	 */
	
	public function getEmployeeDetails($companyId)
	{
		$this->employeeData = $this->employeeInfoRepository->getEmployeeInfo($companyId, true);
		return $this->employeeData ;
	}
	
	
}