コード例 #1
0
ファイル: Engine.php プロジェクト: zhangxiaoliu/PHPPdf
 public function __construct(ImagineInterface $imagine, $outputFormat, UnitConverter $unitConverter = null, array $renderOptions = array())
 {
     parent::__construct($unitConverter);
     $this->imagine = $imagine;
     $this->outputFormat = (string) $outputFormat;
     $this->renderOptions = $renderOptions;
 }
コード例 #2
0
ファイル: Engine.php プロジェクト: appotter/phppdf
 public function __construct(PdfDocument $zendPdf = null, UnitConverter $unitConverter = null)
 {
     parent::__construct($unitConverter);
     $this->zendPdf = $zendPdf;
 }