Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class ArrayHydrator extends AbstractHydrator |
||
14 | { |
||
15 | /** |
||
16 | * @param \Psr\Http\Message\ResponseInterface $response Response to hydrate. |
||
17 | * @param string|null $class Class to hydrate to. |
||
18 | * |
||
19 | * @return array |
||
20 | * |
||
21 | * @throws \IBM\Watson\Common\Exception\HydrationException |
||
22 | * @throws \IBM\Watson\Common\Exception\JsonException |
||
23 | */ |
||
24 | public function hydrate(ResponseInterface $response, string $class = null): array |
||
37 |