| Total Complexity | 1 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | abstract class GenericRepository implements RepositoryInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var Connection |
||
| 14 | */ |
||
| 15 | protected $connection; |
||
| 16 | /** |
||
| 17 | * @var EntityManager |
||
| 18 | */ |
||
| 19 | protected $entityManager; |
||
| 20 | /** |
||
| 21 | * @var ObjectHydrator |
||
| 22 | */ |
||
| 23 | protected $hydrator; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var EntityMetaData |
||
| 27 | */ |
||
| 28 | protected $metaData; |
||
| 29 | |||
| 30 | 22 | final public function __construct(EntityManager $entityManager) |
|
| 38 |