Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenRenaux committed Sep 19, 2024
1 parent 540d7e0 commit ba778a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class YourController
{
return $gotenberg->url()
->url('https://sensiolabs.com/fr/')
->build()
->generate()
->stream() // will return directly a stream response
;
}
Expand Down Expand Up @@ -120,7 +120,7 @@ class YourController
->content('twig_simple_pdf.html.twig', [
'my_var' => 'value'
])
->build()
->generate()
->stream() // will return directly a stream response
;
}
Expand Down Expand Up @@ -179,7 +179,7 @@ class YourController
{
return $gotenberg->url()
->url('https://sensiolabs.com/fr/')
->build()
->generate()
->stream()
;
}
Expand All @@ -206,7 +206,7 @@ class YourController
->content('twig_simple_pdf.html.twig', [
'my_var' => 'value'
])
->build()
->generate()
->stream()
;
}
Expand Down

0 comments on commit ba778a9

Please sign in to comment.