interface transaction_manager_interface

Contract for the Transaction Manager.

Provides a clean and robust execution layer for Moodle's delegated transactions, transparently solving the "Implicit Rollback" conflicts and \Throwable incompatibilities.

Methods

mixed
execute_atomic(callable $operation)

No description

mixed
execute_graceful(callable $operation)

No description

Details

at line 43
mixed execute_atomic(callable $operation)

No description

Parameters

callable $operation

Return Value

mixed

at line 59
mixed execute_graceful(callable $operation)

No description

Parameters

callable $operation

Return Value

mixed