| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | #[\Attribute] |
||
| 9 | class BodyParam extends SingleParameter |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Get request body parameter. |
||
| 13 | * |
||
| 14 | * Optionally apply filtering to the value. |
||
| 15 | * @link http://php.net/manual/en/filter.filters.php |
||
| 16 | */ |
||
| 17 | public function getValue(ServerRequestInterface $request, string $name, ?string $type, bool $required = false): mixed |
||
| 29 |