Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 71.43% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class Heading extends AbstractBlock |
||
22 | { |
||
23 | /** @var int */ |
||
24 | protected $level; |
||
25 | |||
26 | 231 | public function __construct(int $level) |
|
27 | { |
||
28 | 231 | $this->level = $level; |
|
29 | 231 | } |
|
30 | |||
31 | 219 | public function getLevel(): int |
|
32 | { |
||
33 | 219 | return $this->level; |
|
34 | } |
||
35 | |||
36 | public function setLevel(int $level): void |
||
39 | } |
||
40 | } |
||
41 |