示例#1
0
 /**
  * {@inheritDoc} Cleans database table before doing so.
  *
  * @param Fixture $fixture
  * @return bool
  */
 public function persist(Fixture $fixture)
 {
     $fixtureName = $fixture->getName();
     return $this->getConnection()->set($fixtureName, $fixture->getIterator()->getArrayCopy());
 }