Esempio n. 1
0
 protected function setUpEntityManager()
 {
     $this->em = $this->module->getEntityManager($this->con, $reset = TRUE, $resetConnection = TRUE);
 }
Esempio n. 2
0
 /**
  * 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);
 }
Esempio n. 3
0
 public function changeEntityManager($con)
 {
     $this->em = $this->module->getEntityManager($con);
     return $this;
 }