Total Complexity | 8 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 12.5% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | trait RestControllerTrait |
||
11 | { |
||
12 | public function delete(): ResponseInterface |
||
13 | { |
||
14 | throw new MethodNotAllowedException(); |
||
15 | } |
||
16 | |||
17 | public function head(): ResponseInterface |
||
20 | } |
||
21 | |||
22 | public function get(): ResponseInterface |
||
23 | { |
||
24 | throw new MethodNotAllowedException(); |
||
25 | } |
||
26 | |||
27 | public function list(): ResponseInterface |
||
28 | { |
||
29 | throw new MethodNotAllowedException(); |
||
30 | } |
||
31 | |||
32 | public function options(): ResponseInterface |
||
33 | { |
||
34 | throw new MethodNotAllowedException(); |
||
35 | } |
||
36 | |||
37 | public function patch(): ResponseInterface |
||
38 | { |
||
39 | throw new MethodNotAllowedException(); |
||
40 | } |
||
41 | |||
42 | public function post(): ResponseInterface |
||
45 | } |
||
46 | |||
47 | 1 | public function put(): ResponseInterface |
|
50 | } |
||
51 | } |
||
52 |