Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
25 | 293 | public function getResourceForMethod(Request $request, array $allowedHttpMethods): RestResourceInterface |
|
26 | { |
||
27 | // Make sure that we have everything we need to make this work |
||
28 | 293 | $this->validateRestMethod($request, $allowedHttpMethods); |
|
|
|||
29 | |||
30 | // Get current resource service |
||
31 | 210 | return $this->getResource(); |
|
32 | } |
||
34 |