public function output() { if (!$this->rendered) { $this->render(); } return $this->dompdf->output(); }
/** * Output the PDF as a string. * * @return string The rendered PDF as string * @static */ public static function output() { return \Barryvdh\DomPDF\PDF::output(); }