Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | abstract class AbstractHydratorStrategy implements StrategyInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var EntityRepositoryInterface<EntityInterface> |
||
15 | */ |
||
16 | protected EntityRepositoryInterface $repository; |
||
17 | |||
18 | /** |
||
19 | * @param EntityRepositoryInterface<EntityInterface> $repository |
||
20 | */ |
||
21 | public function __construct(EntityRepositoryInterface $repository) |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @param mixed $value |
||
28 | * |
||
29 | * @return mixed |
||
30 | */ |
||
31 | protected function resolveId($value) |
||
45 |