for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LPDFBuilder\Generation;
trait HasTemplateWithImmutablePagesSize
{
use HasTemplate;
protected int $templatePageWidth = 210;
protected int $templatePageHeight = 297;
public function setSize(int $templatePageWidth, int $templatePageHeight): static
$this->templatePageWidth = $templatePageWidth;
$this->templatePageHeight = $templatePageHeight;
return $this;
}
public function setTemplatePageWidth(int $templatePageWidth): static
public function setTemplatePageHeight(int $templatePageHeight): static