protected $columnInfo = [];
public function __construct(
Enlight_Components_Db_Adapter_Pdo_Mysql $db,
ModelManager $em,
Enlight_Event_EventManager $eventManager
) {
$this->db = $db;
$this->em = $em;
$this->eventManager = $eventManager;
$this->buildMapping();
}
/**
* Returns a reference to the Doctrine EntityManager
*
* @return ModelManager
*/
public function getEntityManager()
{
return $this->em;
}