Exemplo n.º 1
0
 /**
  * To make indexation faster do only one flush instead of several
  */
 protected function indexEntities()
 {
     $this->searchEngine->setNeedFlush(false);
     parent::indexEntities();
     $this->searchEngine->flush();
     $this->searchEngine->setNeedFlush(true);
 }
Exemplo n.º 2
0
 public function testGetMapper()
 {
     $this->assertEquals($this->mapper, $this->orm->getMapper());
 }