コード例 #1
0
ファイル: DatabaseTest.php プロジェクト: pscheit/psc-cms
 /**
  * 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
ファイル: EntityBuilder.php プロジェクト: pscheit/psc-cms
 public function getDefaultNamespace()
 {
     return $this->module->getEntitiesNamespace();
 }
コード例 #3
0
ファイル: DCPackage.php プロジェクト: pscheit/psc-cms
 public function changeEntityManager($con)
 {
     $this->em = $this->module->getEntityManager($con);
     return $this;
 }
コード例 #4
0
ファイル: DatabaseTestCase.php プロジェクト: pscheit/psc-cms
 /**
  * @return string
  */
 public function getEntityName($shortName)
 {
     return $this->module->getEntityName($shortName);
 }
コード例 #5
0
ファイル: EntityService.php プロジェクト: pscheit/psc-cms
 public function getRepository($entityClass)
 {
     return $this->doctrine->getRepository($entityClass);
 }