1 | <?php |
||
10 | class DefaultResponseFactory implements ResponseFactory |
||
11 | { |
||
12 | /** |
||
13 | * @param null|object|array $data |
||
14 | * @param array $acceptedMIMETypes |
||
15 | * @return APIResponse |
||
16 | * @throws NotAcceptableResponseTypeException |
||
17 | */ |
||
18 | 4 | public function getResponse($data, array $acceptedMIMETypes): APIResponse |
|
33 | |||
34 | /** |
||
35 | * @return string[] |
||
36 | */ |
||
37 | 1 | public function getSupportedMIMETypes(): array |
|
43 | } |
||
44 |