CakePdf\Pdf\Engine\DomPdfEngine::_render PHP Method

_render() protected method

Renders the Dompdf instance.
protected _render ( CakePdf $Pdf, Dompdf\Dompdf $DomPDF ) : Dompdf\Dompdf
$Pdf CakePdf\Pdf\CakePdf The CakePdf instance that supplies the content to render.
$DomPDF Dompdf\Dompdf The Dompdf instance to render.
return Dompdf\Dompdf
    protected function _render($Pdf, $DomPDF)
    {
        $DomPDF->loadHtml($Pdf->html());
        $DomPDF->render();
        return $DomPDF;
    }