Skip to content

Commit

Permalink
rename render to renderToPdf
Browse files Browse the repository at this point in the history
  • Loading branch information
MartkCz committed May 4, 2022
1 parent 75dc993 commit b14a94f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Templates/ITemplate.php
Expand Up @@ -7,6 +7,8 @@
interface ITemplate
{

public function render(IOrder $order): string;
public function renderToPdf(IOrder $order): string;

public function renderToSvg(IOrder $order): string;

}
2 changes: 1 addition & 1 deletion src/Templates/Template.php
Expand Up @@ -22,7 +22,7 @@ public function getRenderer(): PdfSvg
return $this->renderer;
}

public function render(IOrder $order): string
public function renderToPdf(IOrder $order): string
{
return $this->renderTemplate($order);
}
Expand Down

0 comments on commit b14a94f

Please sign in to comment.