示例#1
0
 public static function tearDownAfterClass()
 {
     foreach (self::$connection->getDb()->getCollectionNames() as $collection) {
         self::$connection->getDb()->{$collection}->drop();
     }
 }
示例#2
0
 public function getDb()
 {
     return $this->_connection->getDb();
 }