예제 #1
0
 public function testGetEntityManager()
 {
     $this->assertSame($this->em, $this->configModelManager->getEntityManager());
 }
예제 #2
0
 /**
  * Gets the EntityManager responsible to work with configuration entities
  * IMPORTANT: configuration entities may use own entity manager which may be not equal the default entity manager
  *
  * @return EntityManager
  */
 public function getEntityManager()
 {
     return $this->modelManager->getEntityManager();
 }