Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 20% |
Changes | 0 |
1 | <?php |
||
7 | class ReturnInformation |
||
8 | { |
||
9 | private string $code; |
||
10 | |||
11 | private string $additionalInformation; |
||
12 | |||
13 | public function getCode(): string |
||
14 | { |
||
15 | return $this->code; |
||
16 | } |
||
17 | |||
18 | public function getAdditionalInformation(): string |
||
19 | { |
||
20 | return $this->additionalInformation; |
||
21 | } |
||
22 | |||
23 | public static function fromUnstructured(string $code, string $additionalInformation): self |
||
30 | } |
||
31 | } |
||
32 |