Пример #1
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);
 }
Пример #2
0
 public function getDefaultNamespace()
 {
     return $this->module->getEntitiesNamespace();
 }
Пример #3
0
 public function changeEntityManager($con)
 {
     $this->em = $this->module->getEntityManager($con);
     return $this;
 }
Пример #4
0
 /**
  * @return string
  */
 public function getEntityName($shortName)
 {
     return $this->module->getEntityName($shortName);
 }
Пример #5
0
 public function getRepository($entityClass)
 {
     return $this->doctrine->getRepository($entityClass);
 }