public function getEntityManager() { return $this->getEntityManagerRegistry()->getManager(); }
/** * Get the entity manager from the service object * @return \Doctrine\ORM\EntityManager $em */ protected function getEntityManager() { return $this->service->getEntityManager(); }