:octocat: rename QROptionsTrait::$imageBase64 to $outputBase64, deprecate old name and redirect calls

This commit is contained in:
smiley
2023-09-03 22:49:32 +02:00
parent ae4ba21b77
commit c69531ca20
29 changed files with 69 additions and 43 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ Inherited from [`SettingsContainerAbstract`](https://github.com/chillerlan/php-s
| `$outputInterface` | `string\|null` | `null` | * | The FQCN of the custom `QROutputInterface` if `QROptions::$outputType` is set to `QROutputInterface::CUSTOM` |
| `$returnResource` | `bool` | `false` | * | Return the image resource instead of a render if applicable. |
| `$cachefile` | `string\|null` | `null` | * | Optional cache file path |
| `$imageBase64` | `bool` | `true` | * | Toggle base64 or raw image data (if applicable) |
| `$outputBase64` | `bool` | `true` | * | Toggle base64 data URI or raw data output (if applicable) |
| `$eol` | `string` | `PHP_EOL` | * | Newline string (HTML, SVG, TEXT) |
| `$bgColor` | `mixed` | `null` | a valid FPDF, GD or Imagick color value | Sets the image background color (if applicable). QRImagick: defaults to "white", QRGdImage: defaults to [255, 255, 255], QRFpdf: defaults to blank internally (white page) |
| `$drawLightModules` | `bool` | `true` | * | Whether to draw the light (false) modules |