/** * Reset client and rollback transaction */ protected function resetClient() { if (self::$clientInstance) { if (self::getDbIsolationSetting()) { self::$clientInstance->rollbackTransaction(); } $this->client = null; self::$clientInstance = null; } }