Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Page extends GlyphBlock |
||
8 | { |
||
9 | protected int $documentWidth = 80; |
||
10 | |||
11 | 8 | public function __construct(protected FrameConfigInterface $globalConfig) |
|
12 | { |
||
13 | 8 | parent::__construct($globalConfig); |
|
14 | 8 | $this->documentWidth = $this->gc('shell')->getDocumentWidthFromOS(); |
|
15 | } |
||
16 | |||
17 | 2 | public function getDocumentWidth(): int |
|
20 | } |
||
21 | } |
||
22 |