Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | class TestHelper |
||
13 | { |
||
14 | public function createTestDb(): void |
||
15 | { |
||
16 | $process = new Process(['vendor/bin/doctrine', 'orm:schema-tool:drop', '--force', '--no-interaction', '-q']); |
||
17 | $process->inheritEnvironmentVariables() |
||
18 | ->mustRun(); |
||
19 | |||
20 | $process = new Process(['vendor/bin/doctrine', 'orm:schema-tool:create', '--no-interaction', '-q']); |
||
21 | $process->inheritEnvironmentVariables() |
||
22 | ->mustRun(); |
||
23 | } |
||
24 | |||
25 | public function seedFixtures(EntityManagerInterface $em, array $config): void |
||
39 | } |
||
40 | } |
||
41 |