Beispiel #1
0
 /**
  * @return EntityManager
  */
 protected function getEntityManager()
 {
     return $this->doctrine->getEntityManager();
 }
Beispiel #2
0
 public function setEntityManager(Doctrine $doctrine)
 {
     $this->em = $doctrine->getEntityManager();
 }