public function getEventManager() { return $this->eventManager; }
/** * Initializes a new UnitOfWork instance, bound to the given EntityManager. * * @param Doctrine\OXM\XmlEntityManager $em */ public function __construct(XmlEntityManager $xem) { $this->xem = $xem; $this->evm = $xem->getEventManager(); }