Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLandauer authored Jan 7, 2021
1 parent 5214f8a commit 37fef74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ return [
Whenever you need to turn a html page into a PDF use dependency injection for your service:

```php
use Nucleos\DompdfBundle\Factory\DompdfFactoryInterface;
use Nucleos\DompdfBundle\Wrapper\DompdfWrapperInterface;

final class MyService
{
public function __construct(DompdfFactoryInterface $factory)
Expand Down

0 comments on commit 37fef74

Please sign in to comment.