Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
14 | 21 | public function __construct(EntityManager $entityManager, string $mode = HydrationMode::BY_REFERENCE) |
|
15 | { |
||
16 | 21 | $this->mode = $mode; |
|
17 | 21 | $this->entityManager = $entityManager; |
|
18 | 21 | $this->metaData = $entityManager->getMetaData($this->getEntityClass()); |
|
19 | 21 | } |
|
43 |