| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | final class ArrayHydrator implements Hydrates |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Creates a new array hydrator. |
||
| 16 | * |
||
| 17 | * @return Hydrates |
||
| 18 | */ |
||
| 19 | public static function create(): Hydrates |
||
| 20 | { |
||
| 21 | return new self; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** @inheritdoc */ |
||
| 25 | public function fromArray(array $input) |
||
| 28 | } |
||
| 29 | |||
| 30 | /** @inheritdoc */ |
||
| 31 | public function classFor(array $input): string |
||
| 36 |