Total Complexity | 2 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | abstract class DoctrineService extends AbstractService |
||
11 | { |
||
12 | private EntityManagerInterface $entityManager; |
||
13 | |||
14 | public function __construct(string $name, EntityManagerInterface $entityManager) |
||
15 | { |
||
16 | parent::__construct($name); |
||
17 | |||
18 | $this->entityManager = $entityManager; |
||
19 | } |
||
20 | |||
21 | public function getEntityManager(): EntityManagerInterface |
||
24 | } |
||
25 | } |
||
26 |