Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class FactoryHydrator implements HydratorInterface |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * Hydrates/returns an object based on a PHP array and a GraphQL type. |
||
19 | * |
||
20 | * @param mixed[] $data |
||
21 | * @param InputObjectType $type |
||
22 | * @return object |
||
23 | */ |
||
24 | public function hydrate(array $data, InputObjectType $type) |
||
32 |