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