Skip to content

Commit

Permalink
Updated with usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
seangofus committed Feb 25, 2014
1 parent 6db7f90 commit 7c86cd0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.markdown
Expand Up @@ -70,6 +70,12 @@ $container->get('knp_snappy.image')->generate('http://www.google.fr', '/path/to/
$container->get('knp_snappy.pdf')->generate('http://www.google.fr', '/path/to/the/file.pdf');
```

### Generate a pdf document from multiple URLs

```php
$container->get('knp_snappy.pdf')->generate(array('http://www.google.fr', 'http://www.knplabs.com', 'http://www.google.com'), '/path/to/the/file.pdf');
```

### Generate a pdf document from a twig view

```php
Expand Down

0 comments on commit 7c86cd0

Please sign in to comment.