Skip to content

Commit

Permalink
alteração para permitir escolher nome e destino
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoroyosilva committed Sep 27, 2019
1 parent 9c157ee commit 1ad3d5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pimaco.php
Expand Up @@ -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);
}
}

0 comments on commit 1ad3d5f

Please sign in to comment.