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 EntityManagerRegistry |
||
24 | */ |
||
25 | public $registry; |
||
26 | |||
27 | /** |
||
28 | * @inheritdoc |
||
29 | * @param TestInterface $test |
||
30 | * @throws \Doctrine\DBAL\DBALException |
||
31 | * @throws \Doctrine\ORM\ORMException |
||
32 | * @throws \Codeception\Exception\ModuleConfigException |
||
33 | */ |
||
34 | public function _before(TestInterface $test) |
||
52 | |||
53 | /** |
||
54 | * @inheritdoc |
||
55 | * @throws \Codeception\Exception\ModuleConfigException |
||
56 | */ |
||
57 | public function _after(TestInterface $test) |
||
70 | |||
71 | /** |
||
72 | * @throws \Codeception\Exception\ModuleConfigException |
||
73 | */ |
||
74 | protected function retrieveEntityManager() |
||
81 | } |
||
82 |