Lines
100.00%
1 / 1
Methods
100.00%
1 / 1
Classes
100.00%
1 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| __construct | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | ||
| 13 | final readonly class Link | |
| 14 | { | |
| 15 | public function __construct( | |
| 16 | #[Groups([LinkList::READ])] | |
| 17 | public string $title, | |
| 18 | #[Groups([LinkList::READ])] | |
| 19 | public string $url, | |
| 20 | /** Plain text, null without one. */ | |
| 21 | #[Groups([LinkList::READ])] | |
| 22 | public ?string $description = null, | |
| 23 | ) { | |
| 24 | } | |
| 25 | } |