Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait InputDataTrait |
||
10 | { |
||
11 | private ?InputDataInterface $inputData = null; |
||
12 | |||
13 | 499 | final public function inputData(InputDataInterface $inputData): static |
|
14 | { |
||
15 | 499 | $new = clone $this; |
|
16 | 499 | $new->inputData = $inputData; |
|
17 | 499 | return $new; |
|
18 | } |
||
19 | |||
20 | 597 | final protected function getInputData(): InputDataInterface |
|
27 | } |
||
28 | } |
||
29 |