From a415786e1c917a8d874c9774c3113c2cf904ad12 Mon Sep 17 00:00:00 2001 From: Alan Poulain Date: Fri, 15 Nov 2019 15:41:51 +0100 Subject: [PATCH] Modify MD files --- build/docs/content/04-html.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/docs/content/04-html.md b/build/docs/content/04-html.md index f0134ed2..060da6ef 100644 --- a/build/docs/content/04-html.md +++ b/build/docs/content/04-html.md @@ -59,8 +59,8 @@ use TheCodingMachine\Gotenberg\HTMLRequest; $client = new Client('http://localhost:3000', new \Http\Adapter\Guzzle6\Client()); $index = DocumentFactory::makeFromPath('index.html', 'index.html'); $request = new HTMLRequest($index); -$dirPath = "/foo"; -$filename = $client->store($request, $dirPath); +$dest = "result.pdf"; +$client->store($request, $dest); ``` ## Header and footer @@ -146,8 +146,8 @@ $footer = DocumentFactory::makeFromPath('footer.html', 'footer.html'); $request = new HTMLRequest($index); $request->setHeader($header); $request->setFooter($footer); -$dirPath = "/foo"; -$filename = $client->store($request, $dirPath); +$dest = "result.pdf"; +$client->store($request, $dest); ``` ## Assets