Total Complexity | 7 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class ProcessedFormReport implements ProcessedFormReportInterface |
||
9 | { |
||
10 | protected FormShieldReportInterface $shieldReport; |
||
11 | |||
12 | protected array $inputReports = []; |
||
13 | |||
14 | protected array $processReports = []; |
||
15 | |||
16 | 45 | public function __construct(FormShieldReportInterface $shieldReport, array $inputReports, array $processReports) |
|
17 | { |
||
18 | 45 | $this->shieldReport = $shieldReport; |
|
19 | 45 | $this->inputReports = $inputReports; |
|
20 | 45 | $this->processReports = $processReports; |
|
21 | } |
||
22 | |||
23 | 6 | public function shieldReport(): FormShieldReportInterface |
|
24 | { |
||
25 | 6 | return $this->shieldReport; |
|
26 | } |
||
27 | |||
28 | 12 | public function inputReports(): array |
|
31 | } |
||
32 | |||
33 | 6 | public function processReports(): array |
|
36 | } |
||
37 | |||
38 | public function submissionIsValid(): bool |
||
49 |