| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Domain extends AbstractEntity implements JsonSerializable |
||
| 11 | { |
||
| 12 | private string $authority; |
||
| 13 | |||
| 14 | 4 | public function __construct(string $authority) |
|
| 15 | { |
||
| 16 | 4 | $this->authority = $authority; |
|
| 17 | 4 | } |
|
| 18 | |||
| 19 | 6 | public function getAuthority(): string |
|
| 22 | } |
||
| 23 | |||
| 24 | 1 | public function jsonSerialize(): string |
|
| 29 |