Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | final class HeadingPermalink extends AbstractInline |
||
22 | { |
||
23 | /** |
||
24 | * @var string |
||
25 | * |
||
26 | * @psalm-readonly |
||
27 | */ |
||
28 | private $slug; |
||
29 | |||
30 | 81 | public function __construct(string $slug) |
|
31 | { |
||
32 | 81 | parent::__construct(); |
|
33 | |||
34 | 81 | $this->slug = $slug; |
|
35 | 81 | } |
|
36 | |||
37 | 81 | public function getSlug(): string |
|
40 | } |
||
41 | } |
||
42 |