public static function mailDoc($model) { $file = PrintDoc::pdfDoc($model); $mail = new Mail(); }
public function pdf() { return PrintDoc::pdfDoc($this); }