| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | abstract class DatabaseTestCase extends TestCase |
||
| 11 | { |
||
| 12 | protected const ENTITIES_TO_EMPTY = []; |
||
| 13 | |||
| 14 | private static EntityManagerInterface $em; |
||
| 15 | |||
| 16 | public static function setEntityManager(EntityManagerInterface $em): void |
||
| 19 | } |
||
| 20 | |||
| 21 | protected function getEntityManager(): EntityManagerInterface |
||
| 22 | { |
||
| 23 | return self::$em; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function tearDown(): void |
||
| 35 | } |
||
| 36 | } |
||
| 37 |