/** * Make the PDF downloadable by the user * * @param string $filename * @return \Illuminate\Http\Response * @static */ public static function download($filename = 'document.pdf') { return \Barryvdh\DomPDF\PDF::download($filename); }