コード例 #1
0
ファイル: AbstractTestCase.php プロジェクト: harp-orm/nested
 public function tearDown()
 {
     DB::get()->rollback();
     parent::tearDown();
 }
コード例 #2
0
ファイル: Repo.php プロジェクト: harp-orm/harp
 /**
  * @return DB
  */
 public function getDbInstance()
 {
     return DB::get($this->getDb());
 }