Table of contents
Namespace: Com\Tecnick\Barcode\Type\Square\MicroQrCode
Backing type: string
File: MicroQrEccLevel.php line 36
Backed enum for the Micro QR Code error correction level. The level H of QR Code is not available; the version M1 carries error detection only and is selected by the automatic level.
Tags
- since: 2026-09-01
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2015-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-barcode
Cases
Auto
File: MicroQrEccLevel.php line 39
L
File: MicroQrEccLevel.php line 42
M
File: MicroQrEccLevel.php line 45
Q
File: MicroQrEccLevel.php line 48
Methods
fromLoose()
File: MicroQrEccLevel.php line 58
public static fromLoose(string|self $value) : self
Accepts the canonical letter or an enum instance (returned unchanged). Unknown values fall back to the automatic level.
Parameters
- $value : string|self: Error correction level letter or enum case.
Return values
self