class moodle_transaction_manager implements transaction_manager_interface

internal  
 

Concrete Transaction Manager mapped over Moodle's native Delegated Transactions.

Provides safe exception interception globally bypassing the PHP 7+ Error issues and cleanly avoiding fatal transaction nested crashes.

Methods

mixed
execute_atomic(callable $operation)

No description

mixed
execute_graceful(callable $operation)

No description

Details

at line 39
mixed execute_atomic(callable $operation)

No description

Parameters

callable $operation

Return Value

mixed

at line 67
mixed execute_graceful(callable $operation)

No description

Parameters

callable $operation

Return Value

mixed