public close ( ) |
public function close()
{
$this->clear();
$this->closed = true;
}
/** * {@inheritDoc} */ protected function tearDown() { parent::tearDown(); if ($this->em instanceof \Doctrine\ORM\EntityManager) { $this->em->close(); } }