getEntityManager() 공개 메소드

Get the entity manager This will return the default manager, to choose a specific one use getEntityManagerRegistry()
public getEntityManager ( ) : EntityManager
리턴 Doctrine\ORM\EntityManager $em
예제 #1
0
 /**
  * Get the entity manager from the service object
  * @return \Doctrine\ORM\EntityManager $em
  */
 protected function getEntityManager()
 {
     return $this->service->getEntityManager();
 }