Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CalumChamberlain authored Sep 17, 2021
1 parent 9f41f31 commit b54fab7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ $png = DocumentGenerator::url('https://www.appoly.co.uk')
| ----------------------------- | ---------------------------------------------------------------- |
| `->pdf()` | sets the file to .pdf |
| `->png()` | sets the file to .png |
| `->url($w)` | sets the url that will be rendered |
| `->html($w)` | sets the html that will be rendered |
| `->url($url)` | sets the url that will be rendered |
| `->html($html)` | sets the html that will be rendered |
| `->height($h)` | sets the files height |
| `->width($w)` | sets the files width |
| `->showBackground($i = true)` | when rendering a PDF, Set to `true` to print background graphics |
| `->filename($name)` | sets the file name - defaults to `random.filetype` |

Expand Down

0 comments on commit b54fab7

Please sign in to comment.