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