PdbTransaction
extends DataObject
in package
This represents a transaction or savepoint.
Table of Contents
Properties
Methods
- __construct() : mixed
- commit() : bool
- Commit the transaction or savepoint.
- isActive() : bool
- Is this transaction active?
- isSavepoint() : bool
- Is this a savepoint?
- rollback() : bool
- Rollback the transaction or savepoint.
- update() : void
Properties
$key
public
string|false
$key
$parent
public
string|false
$parent
$pdb
public
Pdb
$pdb
$readonly
public
bool
$readonly
= false
Methods
__construct()
public
__construct([iterable<string|int, mixed> $config = [] ]) : mixed
Parameters
- $config : iterable<string|int, mixed> = []
commit()
Commit the transaction or savepoint.
public
commit() : bool
Tags
Return values
bool —did it commit?
isActive()
Is this transaction active?
public
isActive() : bool
Return values
boolisSavepoint()
Is this a savepoint?
public
isSavepoint() : bool
Return values
boolrollback()
Rollback the transaction or savepoint.
public
rollback() : bool
Tags
Return values
bool —did it rollback?
update()
public
update(iterable<string|int, mixed> $config) : void
Parameters
- $config : iterable<string|int, mixed>