| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ArrayHydrator extends AbstractHydrator |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param \Psr\Http\Message\ResponseInterface $response Response to hydrate. |
||
| 16 | * @param string|null $class Class to hydrate to. |
||
| 17 | * |
||
| 18 | * @return array |
||
| 19 | * |
||
| 20 | * @throws \BadMethodCallException |
||
| 21 | */ |
||
| 22 | public function hydrate(ResponseInterface $response, string $class = null): array |
||
| 41 |