Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1.064 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
16 | 7 | public static function create(ContainerInterface $container, array $options = []): Hydrator |
|
17 | { |
||
18 | 7 | $options[Options::ANNOTATIONS] = static::annotations($options[Options::ANNOTATIONS] ?? []); |
|
19 | |||
20 | 7 | $hydrator = new Hydrator($container, $options); |
|
21 | |||
22 | self::preheat($hydrator, $options); |
||
23 | |||
24 | return $hydrator; |
||
25 | } |
||
26 | |||
51 |