class DatabaseTransactionRecord (View source)
| string | $connection | The name of the database connection. | |
| int | $level | The transaction level. | |
| DatabaseTransactionRecord | $parent | The parent instance of this transaction. | |
| protected array | $callbacks | The callbacks that should be executed after committing. |
| void | __construct(string $connection, int $level, DatabaseTransactionRecord|null $parent = null)
Create a new database transaction record instance. | |
| void | addCallback(callable $callback)
Register a callback to be executed after committing. | |
| void | executeCallbacks()
Execute all of the callbacks. | |
| array | getCallbacks()
Get all of the callbacks. |
Create a new database transaction record instance.
Register a callback to be executed after committing.
Execute all of the callbacks.
Get all of the callbacks.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Database/DatabaseTransactionRecord.html