1 | <?php |
||
11 | class CleanDoctrine2 extends \Codeception\Module\Doctrine2 |
||
12 | { |
||
13 | protected $dependencyMessage = <<<EOF |
||
14 | Set a dependent module: |
||
15 | |||
16 | modules: |
||
17 | enabled: |
||
18 | - CleanDoctrine2: |
||
19 | depends: ZendExpressive3 |
||
20 | EOF; |
||
21 | |||
22 | /** |
||
23 | * @var ManagerRegistry |
||
24 | */ |
||
25 | public $registry; |
||
26 | |||
27 | /** |
||
28 | * @inheritdoc |
||
29 | * @param TestInterface $test |
||
30 | * @throws \Doctrine\DBAL\DBALException |
||
31 | * @throws \Doctrine\ORM\ORMException |
||
32 | */ |
||
33 | public function _before(TestInterface $test) |
||
51 | |||
52 | /** |
||
53 | * @inheritdoc |
||
54 | */ |
||
55 | public function _after(TestInterface $test) |
||
68 | |||
69 | /** |
||
70 | * @throws \Codeception\Exception\ModuleConfigException |
||
71 | */ |
||
72 | protected function retrieveEntityManager() |
||
79 | } |
||
80 |