| Total Complexity | 7 |
| Total Lines | 60 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php // Copyright ⓒ 2018 Magneds IP B.V. - All Rights Reserved |
||
| 12 | class ListProjectsRequest implements RequestInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Return the method to make this request in. |
||
| 16 | * |
||
| 17 | * @return string |
||
| 18 | */ |
||
| 19 | public function getMethod() |
||
| 20 | { |
||
| 21 | return 'GET'; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * This URI is appended to the route URL given to the Client object. |
||
| 26 | * |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | public function getURI() |
||
| 30 | { |
||
| 31 | return 'project/list'; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | public function getQueryArguments() |
||
| 38 | { |
||
| 39 | return []; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | public function getBody() |
||
| 46 | { |
||
| 47 | return []; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param ResponseInterface $response |
||
| 52 | * @return ResponseInfo |
||
| 53 | */ |
||
| 54 | public function handleResponse(ResponseInterface $response): ResponseInfo |
||
| 72 | } |
||
| 73 | } |
||
| 74 |