| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | trait ParsedBodyParamsMessage |
||
| 24 | { |
||
| 25 | use Message; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @inheritDoc |
||
| 29 | */ |
||
| 30 | protected static function getOnlyParamsFromRequest(Request $request, int|string ...$values): array |
||
| 31 | { |
||
| 32 | return $request->onlyParsedBody($values); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritDoc |
||
| 37 | */ |
||
| 38 | protected static function getExceptParamsFromRequest(Request $request, int|string ...$values): array |
||
| 41 | } |
||
| 42 | } |
||
| 43 |