Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | abstract class AbstractRequest implements RequestInterface |
||
9 | { |
||
10 | use Prettifyable; |
||
11 | |||
12 | /** |
||
13 | * The data format to return. This method only supports json. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $format = Enums\ResponseFormats::JSON; |
||
18 | |||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | public function getMethod(): string |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | public function getQuery(): string |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function getBody(): string |
||
43 |