public function generatePDF() {
        $dompdf = new \DOMPDF();
        $html = $this->generateHTML();
        $dompdf->load_html($html);

        $dompdf->render();
        $pdfStream = $dompdf->output();
        return $pdfStream;
    }
public function generatePDF() {
        $dompdf = new \DOMPDF();
        $html = $this->generateHTML();
        $dompdf->load_html($html);

        $dompdf->render();
        $pdfStream = $dompdf->output();
        return $pdfStream;
    }
public function generatePDF ( ) { $ dompdf = new \ DOMPDF ( ) ; $ html = $ this -> generateHTML ( ) ; $ dompdf -> load_html ( $ html ) ; $ dompdf -> render ( ) ; $ pdfStream = $ dompdf -> output ( ) ; return $ pdfStream ; }
generate PDF document of backup details
@return string       pdf data, ready to be saved to file or streamed to browser
generate PDF document of backup details