| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class FormSubmissionClosure extends AbstractFormDataProcessor implements FormDataProcessorInterface |
||
| 12 | { |
||
| 13 | protected Closure $closure; |
||
| 14 | |||
| 15 | public function __construct(string $name, ?array $fields, Closure $closure) |
||
| 16 | { |
||
| 17 | parent::__construct($name, $fields); |
||
| 18 | |||
| 19 | $this->closure = $closure; |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritDoc} |
||
| 24 | */ |
||
| 25 | public function process(ServerRequestInterface $request, array $results): ?FormProcessReportInterface |
||
| 28 | } |
||
| 29 | } |
||
| 30 |