protected function setUpEntityManager() { $this->em = $this->module->getEntityManager($this->con, $reset = TRUE, $resetConnection = TRUE); }
/** * Erstellt einen neuen EntityManager und setzt den in $this->em * * @return Doctrine\ORM\EntityManager */ public function resetEntityManager() { return $this->em = $this->module->getEntityManager($this->con, TRUE); }
public function changeEntityManager($con) { $this->em = $this->module->getEntityManager($con); return $this; }