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); |
||
15 | 6 | public static function create(array $options = []): Hydrator |
|
16 | { |
||
17 | 6 | $options[Options::ANNOTATIONS] = static::annotations($options[Options::ANNOTATIONS] ?? []); |
|
18 | |||
19 | 6 | $hydrator = new Hydrator($options); |
|
20 | |||
21 | 6 | self::preheat($hydrator, $options); |
|
22 | |||
23 | 6 | return $hydrator; |
|
24 | } |
||
25 | |||
50 |