public function setEntityManager(EntityManager $em) { $this->persistenceHelper->setEntityManager($em); }