From ccac7b14889be6afbe642da8f1f5f1c5a67fe342 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Sat, 9 Dec 2023 10:49:37 -0600 Subject: [PATCH] Update for latest dependency betas --- composer.json | 4 ++-- src/SocketMysqlConnection.php | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 582720e..7db4e04 100644 --- a/composer.json +++ b/composer.json @@ -18,8 +18,8 @@ "amphp/parser": "^1.1", "amphp/pipeline": "^1", "amphp/socket": "^2", - "amphp/sql": "dev-refactor-transactions as 2.0", - "amphp/sql-common": "dev-refactor-transactions as 2.0" + "amphp/sql": "^2-beta.6", + "amphp/sql-common": "^2-beta.7" }, "require-dev": { "ext-mysqli": "*", diff --git a/src/SocketMysqlConnection.php b/src/SocketMysqlConnection.php index e50a63d..11be004 100644 --- a/src/SocketMysqlConnection.php +++ b/src/SocketMysqlConnection.php @@ -42,6 +42,11 @@ public function getConfig(): MysqlConfig return $this->processor->getConfig(); } + public function getTransactionIsolation(): TransactionIsolation + { + return $this->transactionIsolation; + } + public function setTransactionIsolation(TransactionIsolation $isolation): void { $this->transactionIsolation = $isolation;