/** * * @return \Doctrine\ORM\EntityManager */ public function getEntityManager() { return $this->serviceManager->get('EntityManager'); }