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