Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
endroid committed Oct 21, 2024
1 parent 86f264a commit 9991d34
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,12 @@ You can provide any writer options like this.
```php
use Endroid\QrCode\Writer\SvgWriter;

$builder->writerOptions([
SvgWriter::WRITER_OPTION_EXCLUDE_XML_DECLARATION => true
]);
$builder = new Builder(
writer: new SvgWriter(),
writerOptions: [
SvgWriter::WRITER_OPTION_EXCLUDE_XML_DECLARATION => true
]
);
```

### Encoding
Expand Down

0 comments on commit 9991d34

Please sign in to comment.