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