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