| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | final class Reference implements ReferenceInterface |
||
| 23 | { |
||
| 24 | /** @psalm-readonly */ |
||
| 25 | private string $label; |
||
| 26 | |||
| 27 | /** @psalm-readonly */ |
||
| 28 | private string $destination; |
||
| 29 | |||
| 30 | /** @psalm-readonly */ |
||
| 31 | private string $title; |
||
| 32 | |||
| 33 | 286 | public function __construct(string $label, string $destination, string $title) |
|
| 34 | { |
||
| 35 | 286 | $this->label = $label; |
|
| 36 | 286 | $this->destination = $destination; |
|
| 37 | 286 | $this->title = $title; |
|
| 38 | } |
||
| 39 | |||
| 40 | 280 | public function getLabel(): string |
|
| 43 | } |
||
| 44 | |||
| 45 | 240 | public function getDestination(): string |
|
| 48 | } |
||
| 49 | |||
| 50 | 234 | public function getTitle(): string |
|
| 55 |