| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | final class Reference implements ReferenceInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | * |
||
| 27 | * @psalm-readonly |
||
| 28 | */ |
||
| 29 | private $label; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | * |
||
| 34 | * @psalm-readonly |
||
| 35 | */ |
||
| 36 | private $destination; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var string |
||
| 40 | * |
||
| 41 | * @psalm-readonly |
||
| 42 | */ |
||
| 43 | private $title; |
||
| 44 | |||
| 45 | 381 | public function __construct(string $label, string $destination, string $title) |
|
| 46 | { |
||
| 47 | 381 | $this->label = $label; |
|
| 48 | 381 | $this->destination = $destination; |
|
| 49 | 381 | $this->title = $title; |
|
| 50 | 381 | } |
|
| 51 | |||
| 52 | 372 | public function getLabel(): string |
|
| 55 | } |
||
| 56 | |||
| 57 | 318 | public function getDestination(): string |
|
| 60 | } |
||
| 61 | |||
| 62 | 309 | public function getTitle(): string |
|
| 67 |