Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | trait HasTemplateWithImmutablePagesSize |
||
6 | { |
||
7 | use HasTemplate; |
||
8 | |||
9 | protected int $templatePageWidth = 210; |
||
10 | protected int $templatePageHeight = 297; |
||
11 | |||
12 | public function setSize(int $templatePageWidth, int $templatePageHeight): static |
||
18 | } |
||
19 | |||
20 | public function setTemplatePageWidth(int $templatePageWidth): static |
||
21 | { |
||
22 | $this->templatePageWidth = $templatePageWidth; |
||
23 | |||
24 | return $this; |
||
25 | } |
||
26 | |||
27 | public function setTemplatePageHeight(int $templatePageHeight): static |
||
32 | } |
||
33 | } |
||
34 |