codemasher před 7 roky
rodič
revize
dfeb8ad88a
1 změnil soubory, kde provedl 1 přidání a 11 odebrání
  1. 1 11
      README.md

+ 1 - 11
README.md

@@ -104,17 +104,7 @@ $qrcode = new QRCode($options);
 $qrcode->render($data);
 $qrcode->render($data);
 
 
 // ...with additional cache file
 // ...with additional cache file
-$qrcode->render($data, '/path/to/file.png');
-```
-
-Once created, you can reuse the `QRCode` object any time:
-
-```php
-// set new options if needed
-$qrcode->setOptions($newOptions);
-
-// render again
-$qrcode->render($newData);
+$qrcode->render($data, '/path/to/file.svg');
 ```
 ```
 
 
 In case you just want the raw QR code matrix, call `QRCode::getMatrix()` - this method is also called internally from `QRCode::render()`. See also [Custom output modules](#custom-qroutputinterface).
 In case you just want the raw QR code matrix, call `QRCode::getMatrix()` - this method is also called internally from `QRCode::render()`. See also [Custom output modules](#custom-qroutputinterface).