Total Complexity | 3 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class HydratorBuilder |
||
10 | { |
||
11 | /** |
||
12 | * @var Registry |
||
13 | */ |
||
14 | private $registry; |
||
15 | |||
16 | /** |
||
17 | * @var Config |
||
18 | */ |
||
19 | private $config; |
||
20 | |||
21 | /** |
||
22 | * @param Registry $registry |
||
23 | * @param Config $config |
||
24 | */ |
||
25 | public function __construct(Registry $registry, Config $config) |
||
26 | { |
||
27 | $this->registry = $registry; |
||
28 | $this->config = $config; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param string $entityClass |
||
33 | * @return SelectQueryHydrator |
||
34 | * @throws \LogicException |
||
35 | */ |
||
36 | public function buildSelectQueryHydratorByClass($entityClass) |
||
49 | ); |
||
50 | } |
||
52 | } |