Skip to content

Commit

Permalink
Merge pull request #8 from rintisch/fix_issue_nr_6
Browse files Browse the repository at this point in the history
Fix usage instructions. Closes #6
  • Loading branch information
ervaude authored Aug 22, 2020
2 parents 75f18ab + 4575d62 commit 102e8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The extension provides a PdfService. here is an example usage:
```
$pdfService = GeneralUtility::makeInstance(PdfService::class);
$pdfService->setContent($myHtml);
$absolutepathToFile = $pdfService->saveToFile('myPdf.pdf');
$absolutepathToFile = $pdfService->saveToFile('myPdf');
```

This will create a file `myPdf.pdf` with the contents of `$myHtml` in a directory that can be configured in TypoScript.
Expand Down

0 comments on commit 102e8a5

Please sign in to comment.