1 | <?php |
||
11 | class DoctrineEntityManager implements Transactional |
||
12 | { |
||
13 | /** |
||
14 | * @var EntityManagerInterface |
||
15 | */ |
||
16 | private $entityManager; |
||
17 | |||
18 | /** |
||
19 | * Constructor. |
||
20 | * |
||
21 | * @param EntityManagerInterface $entityManager |
||
22 | */ |
||
23 | 21 | public function __construct(EntityManagerInterface $entityManager) |
|
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | 6 | public function beginTransaction() |
|
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | 6 | public function commit() |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 6 | public function rollback() |
|
63 | } |
||
64 |