| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | abstract class Converter |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param ResponseInterface $response |
||
| 13 | * |
||
| 14 | * @throws InvalidArgumentException if data is invalid |
||
| 15 | * @throws DomainException if data type is not implemented |
||
| 16 | * |
||
| 17 | * @return array An associative array |
||
| 18 | */ |
||
| 19 | public static function convert(ResponseInterface $response): array |
||
| 31 |