Total Complexity | 6 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | class GetUsers extends \Jane\OpenApiRuntime\Client\BaseEndpoint implements \Jane\OpenApiRuntime\Client\Psr7Endpoint |
||
13 | { |
||
14 | use \Jane\OpenApiRuntime\Client\Psr7EndpointTrait; |
||
15 | |||
16 | public function getMethod(): string |
||
17 | { |
||
18 | return 'GET'; |
||
19 | } |
||
20 | |||
21 | public function getUri(): string |
||
24 | } |
||
25 | |||
26 | public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array |
||
27 | { |
||
28 | return [[], null]; |
||
29 | } |
||
30 | |||
31 | public function getExtraHeaders(): array |
||
32 | { |
||
33 | return ['Accept' => ['application/json']]; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | * |
||
39 | * @return \ConnectHolland\TimechimpBundle\Api\Model\User[]|null |
||
40 | */ |
||
41 | protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType) |
||
45 | } |
||
46 | } |
||
47 | } |
||
48 |