public function teardown() { parent::teardown(); if ($this->useDatabase) { $this->teardownDb(); } }
/** * Teardown method. **/ public function teardown() { $this->rollback(); $this->repo = null; $this->service = null; parent::teardown(); }