Total Complexity | 1 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | abstract class AbstractDoctrineRepository |
||
9 | { |
||
10 | /** |
||
11 | * @var EntityManager |
||
12 | */ |
||
13 | protected $entityManager; |
||
14 | |||
15 | /** |
||
16 | * @var ObjectRepository |
||
17 | */ |
||
18 | protected $objectRepository; |
||
19 | |||
20 | /** |
||
21 | * @param EntityManager $entityManager |
||
22 | */ |
||
23 | public function __construct(EntityManager $entityManager) |
||
28 | ); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | abstract protected function getRepositoryName(): string; |
||
35 | } |
||
36 |