protected function _render($Pdf, $DomPDF) { $DomPDF->loadHtml($Pdf->html()); $DomPDF->render(); return $DomPDF; }