Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | final class EntityViolation |
||
12 | { |
||
13 | private string $property; |
||
14 | private string $message; |
||
15 | |||
16 | 1 | public function __construct(string $property, string $message) |
|
17 | { |
||
18 | 1 | $this->property = $property; |
|
19 | 1 | $this->message = $message; |
|
20 | 1 | } |
|
21 | |||
22 | 1 | public function getProperty(): string |
|
23 | { |
||
24 | 1 | return $this->property; |
|
25 | } |
||
26 | |||
27 | 1 | public function getMessage(): string |
|
30 | } |
||
31 | } |
||
32 |