From 1ad3d5f9ae35a0b6f94db03b3f870ac1bc8a6e81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Gabriel?= Date: Fri, 27 Sep 2019 16:19:06 -0400 Subject: [PATCH] =?UTF-8?q?altera=C3=A7=C3=A3o=20para=20permitir=20escolhe?= =?UTF-8?q?r=20nome=20e=20destino?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Pimaco.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pimaco.php b/src/Pimaco.php index 174d366..ccd3484 100644 --- a/src/Pimaco.php +++ b/src/Pimaco.php @@ -141,9 +141,9 @@ public function render() return $render; } - public function output() + public function output($name = null, $dest = null) { $this->pdf->WriteHTML($this->render()); - $this->pdf->Output(); + $this->pdf->Output($name, $dest); } }