We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caaf64c commit ba5b0ffCopy full SHA for ba5b0ff
2 files changed
src/Connection.php
@@ -17,6 +17,11 @@ interface Connection extends Link
17
*/
18
public function getConfig(): SqlConfig;
19
20
+ /**
21
+ * @return TransactionIsolation Current transaction isolation used when beginning transactions on this connection.
22
+ */
23
+ public function getTransactionIsolation(): TransactionIsolation;
24
+
25
/**
26
* Sets the transaction isolation level for transactions began on this link.
27
*
src/Transaction.php
@@ -11,7 +11,7 @@
11
12
interface Transaction extends Link
13
{
14
- public function getIsolationLevel(): TransactionIsolation;
+ public function getIsolation(): TransactionIsolation;
15
16
* @return bool True if the transaction is active, false if it has been committed or rolled back.
0 commit comments