Total Complexity | 6 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class ServiceSimpleRequestParams implements \Mezon\Service\ServiceRequestParamsInterface |
||
18 | { |
||
19 | |||
20 | /** |
||
21 | * Method returns list of the request's headers |
||
22 | * |
||
23 | * @return array[string] Array of headers |
||
|
|||
24 | */ |
||
25 | protected function getHttpRequestHeaders(): array |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * Method returns request parameter |
||
34 | * |
||
35 | * @param string $param |
||
36 | * parameter name |
||
37 | * @param mixed $default |
||
38 | * default value |
||
39 | * @return mixed Parameter value |
||
40 | */ |
||
41 | public function getParam($param, $default = false) |
||
58 |