1 | <?php |
||
7 | final class MultipleTransactionManager extends SimpleTransactionManager |
||
8 | { |
||
9 | /** |
||
10 | * @var int number of transactions currently running |
||
11 | */ |
||
12 | private $transactionCpt = 0; |
||
13 | |||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | */ |
||
17 | 12 | public function beginTransaction() |
|
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | 9 | public function commit() |
|
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | 3 | public function rollback() |
|
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | 18 | protected function reset() |
|
62 | } |
||
63 |