| 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 | 2 | public function __construct(string $property, string $message) |
|
| 17 | { |
||
| 18 | 2 | $this->property = $property; |
|
| 19 | 2 | $this->message = $message; |
|
| 20 | 2 | } |
|
| 21 | |||
| 22 | 2 | public function getProperty(): string |
|
| 23 | { |
||
| 24 | 2 | return $this->property; |
|
| 25 | } |
||
| 26 | |||
| 27 | 2 | public function getMessage(): string |
|
| 30 | } |
||
| 31 | } |
||
| 32 |