| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class RepositoryCommitment extends AbstractFormDataProcessor implements FormDataProcessorInterface |
||
| 12 | { |
||
| 13 | use QueriesRepositoryTrait; |
||
| 14 | |||
| 15 | public function __construct(string $name, ?array $fields, object $repository, string $commitMethod) |
||
| 16 | { |
||
| 17 | parent::__construct($name, $fields); |
||
| 18 | |||
| 19 | $this->repository = $repository; |
||
| 20 | $this->commitMethod = $commitMethod; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function process(ServerRequestInterface $request, array $results): ?FormProcessReportInterface |
||
| 30 | } |
||
| 31 | } |
||
| 32 |