mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-22 05:03:12 +00:00
27 lines
1.8 KiB
Markdown
27 lines
1.8 KiB
Markdown
# DecoderResult
|
|
|
|
The full phpDocumentor API documentation can be found at [chillerlan.github.io/php-qrcode](https://chillerlan.github.io/php-qrcode/classes/chillerlan-QRCode-Decoder-DecoderResult.html).
|
|
|
|
|
|
## Methods
|
|
|
|
| method | return | description |
|
|
|--------------------------------------------|------------|------------------------------------------------------------------------------------------------------------|
|
|
| `__construct(iterable $properties = null)` | - | used internally by [`Decoder`](https://github.com/chillerlan/php-qrcode/blob/main/src/Decoder/Decoder.php) |
|
|
| `__toString()` | `string` | returns the data contained in the QR symbol |
|
|
| `hasStructuredAppend()` | `bool` | |
|
|
| `getQRMatrix()` | `QRMatrix` | |
|
|
|
|
|
|
## Magic Properties (read-only)
|
|
|
|
| property | type | description |
|
|
|-----------------------------|---------------|------------------|
|
|
| `$rawBytes` | `BitBuffer` | |
|
|
| `$version` | `Version` | |
|
|
| `$eccLevel` | `EccLevel` | |
|
|
| `$maskPattern` | `MaskPattern` | |
|
|
| `$data` | `string` | defaults to `''` |
|
|
| `$structuredAppendParity` | `int` | defaults to `-1` |
|
|
| `$structuredAppendSequence` | `int` | defaults to `-1` |
|