Example #1
0
 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;
 }
Example #2
0
 public function __construct(PdfDocument $zendPdf = null, UnitConverter $unitConverter = null)
 {
     parent::__construct($unitConverter);
     $this->zendPdf = $zendPdf;
 }