Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
sasedev committed Aug 25, 2020
1 parent 9cdc547 commit fd4632d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ return [

## Usage

### Simple usage:
You can use the type in your forms just like this:
You can use the factory in your controllers just like this:
```php
<?php

Expand All @@ -52,6 +51,7 @@ $mPdf->SetFooter($this->renderView('twigfolder/pdf/pdf_footer.html.twig', $TwigV
$mPdf->WriteHTML($this->renderView('twigfolder/pdf/pdf_content.html.twig', $TwigVars));
return $MpdfFactory->createDownloadResponse($mPdf, "file.pdf");
}
// ...
```

## Reporting an issue or a feature request
Expand Down

0 comments on commit fd4632d

Please sign in to comment.