コード例 #1
0
 protected function cleanDatabase()
 {
     foreach ($this->repository->findMappedStatements(array()) as $statement) {
         $this->objectManager->remove($statement);
     }
     $this->objectManager->flush();
 }