Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Padam87 committed Jan 16, 2019
1 parent ea0fe48 commit 6e57d1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A bundle to rasterize web pages with Puppeteer (or other) for Symfony2

```php
$response = new Response(
$this->get('padam87_rasterize.rasterizer')->rasterize(
$this->get(Rasterizer::class)->rasterize(
$this->renderView('Bundle:Folder:template.pdf.twig')
),
200, [
Expand Down
2 changes: 1 addition & 1 deletion Resources/docs/how_to_customize_the_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The rasterize methods accepts a callback as the 4th parameter.

```php
$response = new Response(
$this->get('padam87_rasterize.rasterizer')->rasterize(
$this->get(Rasterizer::class)->rasterize(
$this->renderView('Bundle:Folder:template.pdf.twig'),
[],
[],
Expand Down
2 changes: 1 addition & 1 deletion Resources/docs/how_to_pass_arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const orientation = args[3];
To change the orientation to `landscape`, you need to add one more parameter to the rasterizer call.

```php
$this->get('padam87_rasterize.rasterizer')->rasterize(
$this->get(Rasterizer::class)->rasterize(
$this->renderView('Bundle:Folder:template.pdf.twig')
[
'orientation' => 'landscape'
Expand Down

0 comments on commit 6e57d1d

Please sign in to comment.