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 c9fc067 commit e5a1e5aCopy full SHA for e5a1e5a
src/Contracts/UnmanagedTransactionInterface.php
@@ -40,4 +40,19 @@ public function commit(iterable $statements = []): CypherList;
40
* Rolls back the transaction.
41
*/
42
public function rollback(): void;
43
+
44
+ /**
45
+ * Returns whether the transaction has been rolled back.
46
+ */
47
+ public function isRolledBack(): bool;
48
49
50
+ * Returns whether the transaction has been committed.
51
52
+ public function isCommitted(): void;
53
54
55
+ * Returns whether the transaction is safe to use.
56
57
+ public function isFinished(): void;
58
}
0 commit comments